Closed hargoniX closed 2 years ago
Mmh, I would prefer the call to be inside main
, and libraries using analyzeInput
to repeat that. Otherwise analyzeInput
itself should be would have to be unsafe
, as a caller will have to ensure the enableInitializersExecution
invariants are upheld in any case.
I moved it to the exec part since that's the first function where we actually know we'll be running analysis.
Did that break something D: ?
The tests are passing for me locally...something weird is going on.
Mmh, the message "Error: unknown constant 'sorryAx'" sounds like it wasn't able to import the stdlib. That's suspicious.
Description
When running LeanInk against files that load custom user extensions which make user of initializers right now it will simply error because those initializers aren't run. This is addressed by telling the frontend to run the initializers.