typecheck: infer simple expression results

This commit is contained in:
Hermes Agent
2026-09-05 19:35:41 +00:00
parent e35341cf99
commit 5b29e9abee
7 changed files with 53 additions and 4 deletions
+3
View File
@@ -104,6 +104,9 @@ EXPECTED = {
"tests/typecheck_object_field_expression_bad.claro": [
"tests/typecheck_object_field_expression_bad.claro:8: Type mismatch for field player.score: expected NUMBER, but this value looks like TEXT.",
],
"tests/typecheck_object_field_compound_bad.claro": [
"tests/typecheck_object_field_compound_bad.claro:8: Type mismatch for field player.score: expected NUMBER, but this value looks like TEXT.",
],
"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.",
],