[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
|
|
@ -14,7 +14,7 @@ fun wrong() {
|
|||
}
|
||||
|
||||
// @expect-errors:
|
||||
// | 7:4: cannot assign a value of type `string` to type `f64`
|
||||
// | 8:4: cannot assign a value of type `f64` to type `string`
|
||||
// | 11:4: cannot assign a value of type `f64` to type `string`
|
||||
// | 7:4: cannot assign a value of type 'string' to type 'f64'
|
||||
// | 8:4: cannot assign a value of type 'f64' to type 'string'
|
||||
// | 11:4: cannot assign a value of type 'f64' to type 'string'
|
||||
// | 13:2: cannot assign a new value to a function declaration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue