You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import Mathlib.Tactic.Linter.Multigoal
set_option linter.style.multiGoal true
example : 0 = 0 ∧ 0 = 0 := by
refine ⟨?_, ?_⟩
rfl -- The linter flags this line, as expected.
rfl
example : 0 = 0 ∧ 0 = 0 ∧ 0 = 0 := bysuffices h : 0 = 0by
refine ⟨h, ?_, ?_⟩
rfl -- I expect to see the linter flag this line, but it does not.
rfl
rfl
It looks to me like the problem is that the suffices expands in to a focus node, which then get causes everything below that to get ignored:
It looks to me like the problem is that the
suffices
expands in to afocus
node, which then get causes everything below that to get ignored:mathlib4/Mathlib/Tactic/Linter/Multigoal.lean
Line 124 in 7669cc5
The text was updated successfully, but these errors were encountered: