mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-01 02:42:09 +00:00
Fix issue #109
This commit is contained in:
@@ -750,7 +750,7 @@ void populate_using_entity_map(Checker *c, AstNode *node, Type *t, Map<Entity *>
|
||||
String name = f->token.string;
|
||||
HashKey key = hash_string(name);
|
||||
Entity **found = map_get(entity_map, key);
|
||||
if (found != nullptr) {
|
||||
if (found != nullptr && name != "_") {
|
||||
Entity *e = *found;
|
||||
// TODO(bill): Better type error
|
||||
if (str != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user