typecheck: diagnose typed unknown object fields
This commit is contained in:
@@ -95,6 +95,9 @@ EXPECTED = {
|
||||
"tests/typecheck_object_field_unknown_bad.claro": [
|
||||
"tests/typecheck_object_field_unknown_bad.claro:6: Object Player has no field level. Check the field name or add HAS level NUMBER to the class.",
|
||||
],
|
||||
"tests/typecheck_object_field_unknown_typed_bad.claro": [
|
||||
"tests/typecheck_object_field_unknown_typed_bad.claro:6: Object Player has no field level. Check the field name or add HAS level NUMBER to the class.",
|
||||
],
|
||||
"tests/typecheck_object_field_unknown_text_bad.claro": [
|
||||
"tests/typecheck_object_field_unknown_text_bad.claro:6: Object Player has no field nickname. Check the field name or add HAS nickname TEXT to the class.",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user