oden/fine/tests/expression/errors/class_duplicate_fields.fine
John Doty 5f0a0b3268 [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
2024-01-21 08:14:42 -08:00

7 lines
98 B
Text

class Foo {
x: f64;
x: f64;
}
// @expect-errors:
// | 3:2: duplicate definition of field 'x'