Skip to content

Commit

Permalink
fix: getTheoremKindFromOpt
Browse files Browse the repository at this point in the history
  • Loading branch information
leodemoura committed Jan 17, 2025
1 parent 9fe4400 commit be16ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lean/Meta/Tactic/Grind/EMatchTheorem.lean
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ def getTheoremKindFromOpt (stx : Syntax) : CoreM TheoremKind := do
if stx[1].isNone then
return .default
else
getTheoremKindCore stx[1]
getTheoremKindCore stx[1][0]

private def addGrindEqAttr (declName : Name) (attrKind : AttributeKind) (thmKind : TheoremKind) (useLhs := true) : MetaM Unit := do
if (← getConstInfo declName).isTheorem then
Expand Down

0 comments on commit be16ca1

Please sign in to comment.