test: cover compatibility method unknown field assignment

This commit is contained in:
Hermes Agent
2026-09-14 11:42:50 +00:00
parent 87badcd5d4
commit 110fbf8232
7 changed files with 24 additions and 4 deletions
+3
View File
@@ -278,6 +278,9 @@ EXPECTED = {
"tests/typecheck_method_unknown_field_bad.claro": [
"tests/typecheck_method_unknown_field_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_bad.claro": [
"tests/typecheck_method_compat_unknown_field_bad.claro:5: Object Player has no field level. Check the field name or add HAS level NUMBER to the class.",
],
"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.",
],