Skip to content

Commit d024cd1

Browse files
committed
test: retain only the modifier quotation regression
1 parent 0d5c52b commit d024cd1

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

tests/elab/grind_param_syntax.lean

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,16 @@ module
22
import Lean
33

44
/-!
5-
Check that sharing modifier parsers preserves typed parameter-list splices and anonymous
6-
modifier quotations (#15116).
5+
Check that sharing modifier parsers preserves anonymous modifier quotations (#15116).
76
-/
87

98
open Lean
109

11-
macro "lia_with " ps:Lean.Parser.Tactic.grindParam,* : tactic =>
12-
`(tactic| lia [$ps,*])
13-
1410
macro "lia_modified " mod:Lean.Parser.Attr.grindMod e:term : tactic => do
1511
let p ← `(Lean.Parser.Tactic.grindParam| $mod $e:term)
1612
`(tactic| lia [$p:grindParam])
1713

1814
private def bump (x : Int) := x + 1
1915
private theorem bump_def (x : Int) : bump x = x + 1 := rfl
2016

21-
example (x : Int) : x < bump x := by lia_with = bump_def
2217
example (x : Int) : x < bump x := by lia_modified = bump_def

0 commit comments

Comments
 (0)