test: cover typed unknown method fields
This commit is contained in:
@@ -287,6 +287,12 @@ EXPECTED = {
|
||||
"tests/typecheck_method_compat_unknown_field_expression_bad.claro": [
|
||||
"tests/typecheck_method_compat_unknown_field_expression_bad.claro:5: Object Player has no field level. Check the field name or add the field to the class with the right type.",
|
||||
],
|
||||
"tests/typecheck_method_unknown_field_typed_bad.claro": [
|
||||
"tests/typecheck_method_unknown_field_typed_bad.claro:4: Object Player has no field level. Check the field name or add HAS level NUMBER to the class.",
|
||||
],
|
||||
"tests/typecheck_method_compat_unknown_field_typed_bad.claro": [
|
||||
"tests/typecheck_method_compat_unknown_field_typed_bad.claro:4: Object Player has no field level. Check the field name or add HAS level NUMBER to the class.",
|
||||
],
|
||||
"tests/typecheck_method_unknown_field_expression_bad.claro": [
|
||||
"tests/typecheck_method_unknown_field_expression_bad.claro:5: Object Player has no field level. Check the field name or add the field to the class with the right type.",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user