- May 03, 2022
-
-
-
-
-
David Bühler authored
-
David Bühler authored
-
David Bühler authored
-
David Bühler authored
-
-
David Bühler authored
-
David Bühler authored
-
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
-
-
-
-
-
-
-
-
-
take into account that varinfos can stem from kernel functions (namely if we take their address), and that they are supposed to be declared before we see them, so that we don't have to compare their types and attributes at each use, but just check the entries in the environment (either local or global depending on vglob).
-
-
-
it looks like ppx_import and ppx_deriving could be useful
-
-
-
-
-