mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
add_deps_from_child_to_parent always
This commit is contained in:
+1
-4
@@ -1608,10 +1608,7 @@ gb_internal bool check_proc_body(CheckerContext *ctx_, Token token, DeclInfo *de
|
|||||||
|
|
||||||
check_scope_usage(ctx->checker, ctx->scope);
|
check_scope_usage(ctx->checker, ctx->scope);
|
||||||
|
|
||||||
if (decl->entity == nullptr) {
|
add_deps_from_child_to_parent(decl);
|
||||||
// Only care about nested procedure literals
|
|
||||||
add_deps_from_child_to_parent(decl);
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user