fix: support new inductionAlt syntax at Linter/Basic.lean
This commit is contained in:
parent
bd2cccf287
commit
3a1dc5e066
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ where
|
|||
isPatternVar (_ : Syntax) (stack : SyntaxStack) :=
|
||||
stack.any fun (stx, pos) =>
|
||||
(stx.isOfKind ``Lean.Parser.Term.matchAlt && pos == 1) ||
|
||||
(stx.isOfKind ``Lean.Parser.Tactic.inductionAlt && pos == 2)
|
||||
(stx.isOfKind ``Lean.Parser.Tactic.inductionAltLHS && pos == 2)
|
||||
|
||||
builtin_initialize addLinter unusedVariables
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue