mirror of
https://github.com/leanprover/lean4.git
synced 2026-03-17 18:34:06 +00:00
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
5 lines
223 B
Plaintext
5 lines
223 B
Plaintext
3705.lean:17:9-17:29: warning: declaration uses `sorry`
|
|
3705.lean:17:9-17:29: warning: declaration uses `sorry`
|
|
3705.lean:23:0-23:7: warning: declaration uses `sorry`
|
|
3705.lean:30:8-30:11: warning: declaration uses `sorry`
|