This PR changes the way the linting for `linter.unusedSimpArgs` gets the value from the environment. This is achieved by using the appropriate helper functions defined in `Lean.Linter.Basic`. The following now compiles without warning ```lean4 set_option linter.all false in example : True := by simp [False] ``` Fixes #12559
1 line
69 B
Text
1 line
69 B
Text
simpDischargeLoop.lean:42:8-42:21: warning: declaration uses `sorry`
|