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
3 lines
166 B
Text
3 lines
166 B
Text
5755.lean:15:8-15:25: warning: declaration uses `sorry`
|
|
5755.lean:25:0-25:7: warning: declaration uses `sorry`
|
|
5755.lean:46:0-46:7: warning: declaration uses `sorry`
|