chore: add issue 297 examples
The stack overflow reported on this issue has already been fixed. closes #297
This commit is contained in:
parent
1cfc4cecc1
commit
9d0edab6c3
2 changed files with 20 additions and 0 deletions
2
tests/lean/297.lean
Normal file
2
tests/lean/297.lean
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
theorem r:0:=do
|
||||
0if 0then 0
|
||||
18
tests/lean/297.lean.expected.out
Normal file
18
tests/lean/297.lean.expected.out
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
297.lean:1:10-1:11: error: typeclass instance problem contains metavariables
|
||||
OfNat (Sort ?u) 0
|
||||
297.lean:2:0-2:1: error: failed to synthesize instance
|
||||
OfNat (Id PUnit) 0
|
||||
297.lean:2:4-2:5: error: failed to synthesize instance
|
||||
OfNat Prop 0
|
||||
297.lean:2:10-2:11: error: failed to synthesize instance
|
||||
OfNat (Id 0) 0
|
||||
297.lean:1:10-1:11: error: failed to synthesize instance
|
||||
OfNat (Type ?u) 0
|
||||
297.lean:2:1-2:11: error: application type mismatch
|
||||
pure PUnit.unit
|
||||
argument
|
||||
PUnit.unit
|
||||
has type
|
||||
PUnit
|
||||
but is expected to have type
|
||||
0
|
||||
Loading…
Add table
Reference in a new issue