Checks whether references in the given declaration adhere to phase distinction.
Equations
Instances For
Checks that imports necessary for inlining/specialization are public as otherwise we may run into unknown declarations at the point of inlining/specializing. This is a limitation that we want to lift in the future by moving main compilation into a different process that can use a different import/incremental system.