- 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
8 lines
No EOL
156 B
Text
8 lines
No EOL
156 B
Text
class Foo {}
|
|
|
|
fun test() -> f64 {
|
|
Foo + 23
|
|
}
|
|
|
|
// @expect-errors:
|
|
// | 4:2: Foo is a class, not a value (did you mean to create a new instance with 'new'?) |