Skip to content

Commit 03ee6e8

Browse files
committed
deprecation
1 parent c889785 commit 03ee6e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mathlib/Tactic/Linter/FlexibleLinter.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def flexibleLinter : Linter where run := withSetOptionIn fun _stx => do
457457
stains := new
458458

459459
for (s, stainStx, d) in msgs do
460-
let stainStr := (stainStx.reprint.getD s!"{stainStx}").trim
460+
let stainStr := (stainStx.reprint.getD s!"{stainStx}").trimAscii
461461
let msg := match stainStx.getKind with
462462
| ``Lean.Parser.Tactic.simp =>
463463
m!"'{stainStr}' is a flexible tactic modifying '{d}'. \

0 commit comments

Comments
 (0)