- May 03, 2022
-
-
-
same issue as with compinfo
-
-
it turns out that not all global varinfos are stored in Globals.Vars...
-
same reason as for locals: latter formals can refer to former ones
-
a local can be referenced in the type of another one, hence we can't compare them in the same environment and update said environment afterwards.
-
actually, we visit the spec of a function at its first occurrence, so that it is possible that some global logic definitions that are used in the constract haven't been visited yet.
-
Specifically if a global declaration `x` occurs between a function declaration `f` and the definition of `f` which uses `x`
-
-
-
also working oracle for AST diff test
-