[fine] Tests for type errors
WHEEEEEEE!
This commit is contained in:
parent
618e0028d3
commit
a9c1b04920
8 changed files with 123 additions and 47 deletions
2
fine/tests/expression/errors/if_requires_else.fine
Normal file
2
fine/tests/expression/errors/if_requires_else.fine
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
if (if false { true }) { 32 } else { 23 }
|
||||
// type-error: 4 this conditional expression needs an else arm to produce a value
|
||||
Loading…
Add table
Add a link
Reference in a new issue