eval ir generation: adjust autohook-allowance to be a stack, and correctly disable it for all sub-evaluations when using a raw lens, such that autohooks do not apply for evaluation of the parameter (e.g. raw(foo) -> foo, without allowing mapping of foo to something else)

This commit is contained in:
Ryan Fleury
2025-04-14 11:07:18 -07:00
parent 70c003607d
commit ee0c1b25c3
2 changed files with 31 additions and 13 deletions
+1
View File
@@ -154,6 +154,7 @@ struct E_IRState
// rjf: overridden irtree
E_IRTreeAndType *overridden_irtree;
B32 disallow_autohooks;
// rjf: caches
E_UsedExprMap *used_expr_map;