test: cover compatibility method field values

This commit is contained in:
Hermes Agent
2026-09-21 19:57:39 +00:00
parent f590b01bfe
commit 8edab412b3
6 changed files with 17 additions and 3 deletions
+3
View File
@@ -449,6 +449,9 @@ EXPECTED = {
"tests/typecheck_method_short_field_missing_value_bad.claro": [
"tests/typecheck_method_short_field_missing_value_bad.claro:5: SET score needs a value after type NUMBER. Add one expression.",
],
"tests/typecheck_method_compat_short_field_missing_value_bad.claro": [
"tests/typecheck_method_compat_short_field_missing_value_bad.claro:5: SET score needs a value after type NUMBER. Add one expression.",
],
"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.",
],