test: cover compatibility method unknown fields
This commit is contained in:
@@ -281,6 +281,9 @@ EXPECTED = {
|
||||
"tests/typecheck_method_unknown_field_check_type_bad.claro": [
|
||||
"tests/typecheck_method_unknown_field_check_type_bad.claro:5: Object Player has no field level. Check the field name or add HAS level NUMBER to the class.",
|
||||
],
|
||||
"tests/typecheck_method_compat_unknown_field_check_type_bad.claro": [
|
||||
"tests/typecheck_method_compat_unknown_field_check_type_bad.claro:5: Object Player has no field level. Check the field name or add HAS level NUMBER to the class.",
|
||||
],
|
||||
"tests/typecheck_method_text_field_assignment_bad.claro": [
|
||||
"tests/typecheck_method_text_field_assignment_bad.claro:4: Type mismatch for field name in Player.rename: expected TEXT, but this value looks like NUMBER.",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user