mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-16 10:52:22 -07:00
Fix race condition with procedure aliases checking for declarations on constant aliases
This commit is contained in:
@@ -3260,6 +3260,7 @@ void check_collect_value_decl(CheckerContext *c, Ast *decl) {
|
||||
d->type_expr = vd->type;
|
||||
d->init_expr = init;
|
||||
|
||||
|
||||
if (is_ast_type(init)) {
|
||||
e = alloc_entity_type_name(d->scope, token, nullptr);
|
||||
// if (vd->type != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user