leanprover-community / batteries

The "batteries included" extended library for the Lean programming language and theorem prover
Apache License 2.0
253 stars 105 forks source link

fix: run `Lean.enableInitializersExecution` #1047

Closed eric-wieser closed 1 week ago

eric-wieser commented 1 week ago

Without this command, parsers exposed through

https://github.com/leanprover-community/mathlib4/blob/master/Mathlib/Util/Superscript.lean#L279-L285

suddenly stop existing when the linters run, and so a crash happens when processing the syntax.


It's likely that this has other unintended consequences...

leanprover-community-bot commented 1 week ago

Mathlib CI status (docs):