Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ fix ] Disable top-level constants optimisation during incremental c…
…ompilation The optimisation for non-recursive top-level constants introduced in #2817 accidentally breaks incremental compilation when an optimised top-level constant is referenced in another module (noticeable in larger, non-trivial programs, e.g. when building Idris itself in incremental mode). Since incremental compilation currently has no way to know about constants in other modules, this commit sets the list of constants to `empty` (as is done in the `ChezSep` backend) which allows successful compilation.
- Loading branch information