Zulip Chat Archive
Stream: general
Topic: Unused variables and proof_wanted
Yaël Dillies (Dec 18 2023 at 07:58):
proof_wanted
statements get linted for unused variables. Doesn't seem very fair to me :grinning:
Mario Carneiro (Dec 18 2023 at 08:13):
It's possible to add ignore fns for unused variables (although IIRC there is some issue with the environment extension which makes this not actually work, cc: @Sebastian Ullrich )
Andrew Yang (Jan 07 2024 at 10:00):
Bump. proof_wanted
isn't really usable in mathlib because of this.
Yaël Dillies (Jan 07 2024 at 10:31):
For now, you can set_option linter.unusedVariables false in
at least
Martin Dvořák (Jan 15 2024 at 10:22):
Bump (same complaint).
Mario Carneiro (Jan 15 2024 at 11:27):
lean4#3184 is step 1 in fixing this
Last updated: May 02 2025 at 03:31 UTC