mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-18 20:40:28 +00:00
Correct context logic in lb_build_addr
This commit is contained in:
@@ -12876,7 +12876,7 @@ lbAddr lb_build_addr(lbProcedure *p, Ast *expr) {
|
||||
lbAddr v = {};
|
||||
switch (i->kind) {
|
||||
case Token_context:
|
||||
v = lb_find_context_ptr(p);
|
||||
v = lb_find_or_generate_context_ptr(p);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user