test: cover chained object method aliases
This commit is contained in:
@@ -143,6 +143,9 @@ EXPECTED = {
|
||||
"tests/typecheck_object_field_check_type_alias_bad.claro": [
|
||||
"tests/typecheck_object_field_check_type_alias_bad.claro:8: Type check failed: expected TEXT, but alias.score looks like NUMBER.",
|
||||
],
|
||||
"tests/typecheck_object_alias_method_bad.claro": [
|
||||
"tests/typecheck_object_alias_method_bad.claro:12: Type mismatch for method Player.add: parameter points needs NUMBER, but this argument looks like TEXT.",
|
||||
],
|
||||
}
|
||||
|
||||
EXPECTED_OK = [
|
||||
|
||||
Reference in New Issue
Block a user