[fine] Many test improvements, error improvements
- Check for more error conditions - Move to more definitive error assertions - Simpler error messages in some cases - Test more conditions more thoroughly, revisit old tests
This commit is contained in:
parent
d0b74db715
commit
5f0a0b3268
20 changed files with 186 additions and 118 deletions
|
|
@ -1,2 +1,4 @@
|
|||
if (if false { true }) { 32 } else { 23 }
|
||||
// @type-error: 4 the type of the `then` branch (bool) must match the type of the `else` branch (())
|
||||
|
||||
// @expect-errors:
|
||||
// | 1:4: the type of the 'then' branch ('bool') must match the type of the 'else' branch ('()')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue