typecheck: infer simple expression results
This commit is contained in:
@@ -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.",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user