mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix #3569
This commit is contained in:
+1
-1
@@ -751,7 +751,7 @@ gb_internal bool check_using_stmt_entity(CheckerContext *ctx, AstUsingStmt *us,
|
|||||||
for (auto const &entry : scope->elements) {
|
for (auto const &entry : scope->elements) {
|
||||||
String name = entry.key;
|
String name = entry.key;
|
||||||
Entity *decl = entry.value;
|
Entity *decl = entry.value;
|
||||||
if (!is_entity_exported(decl)) continue;
|
if (!is_entity_exported(decl, true)) continue;
|
||||||
|
|
||||||
Entity *found = scope_insert_with_name(ctx->scope, name, decl);
|
Entity *found = scope_insert_with_name(ctx->scope, name, decl);
|
||||||
if (found != nullptr) {
|
if (found != nullptr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user