This PR adds a test for issue #11655, which it seems was fixed by #11695 Fixes #11655
This commit is contained in:
parent
08c87b2ad3
commit
1918d4f0dc
1 changed files with 7 additions and 0 deletions
7
tests/lean/run/issue11655.lean
Normal file
7
tests/lean/run/issue11655.lean
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
inductive T : Bool → Type
|
||||
| mkTrue : T true
|
||||
| mkFalse : T false
|
||||
|
||||
def test2 : (b : Bool) → T b → (bif b then Nat else List Nat) → Nat
|
||||
| .(true), T.mkTrue, Nat.zero => 1
|
||||
| _, _, _ => 0
|
||||
Loading…
Add table
Reference in a new issue