test: add object field CHECK TYPE negative fixture

This commit is contained in:
Hermes Agent
2026-06-27 03:05:46 -06:00
parent 966f1e293d
commit 93434c1147
7 changed files with 19 additions and 4 deletions
+3
View File
@@ -44,6 +44,9 @@ EXPECTED = {
"tests/typecheck_object_field_unknown_yesno_bad.claro": [
"tests/typecheck_object_field_unknown_yesno_bad.claro:6: Object Player has no field ready. Check the field name or add HAS ready YESNO to the class.",
],
"tests/typecheck_object_field_check_type_text_bad.claro": [
"tests/typecheck_object_field_check_type_text_bad.claro:7: Type check failed: expected NUMBER, but player.name looks like TEXT.",
],
}
EXPECTED_OK = [