chore: fix test
`set_option` command after `by` tactic block is ambiguous.
We need to indent or use `{ ... }`.
cc @Kha
This commit is contained in:
parent
061b9bf60f
commit
6ec5c1de54
2 changed files with 4 additions and 4 deletions
|
|
@ -20,9 +20,9 @@ apply h1;
|
|||
assumption
|
||||
|
||||
example {p q : Prop} (h₁ : p → q) (h₂ : p ∨ q) : q := by
|
||||
cases h₂;
|
||||
{ apply h₁; exact h }; -- error "unknown identifier"
|
||||
exact h
|
||||
cases h₂;
|
||||
{ apply h₁; exact h }; -- error "unknown identifier"
|
||||
exact h
|
||||
|
||||
set_option hygienicIntro false in
|
||||
example {p q : Prop} (h₁ : p → q) (h₂ : p ∨ q) : q := by
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
hygienicIntro.lean:14:6-14:9: error: unknown identifier 'a_1'
|
||||
hygienicIntro.lean:24:18-24:19: error: unknown identifier 'h'
|
||||
hygienicIntro.lean:24:20-24:21: error: unknown identifier 'h'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue