Pass all literal assignment tests

This commit is contained in:
Sasha Koshka 2023-10-29 15:18:44 -04:00
parent b839517e9a
commit 1a09e9ba2a
2 changed files with 12 additions and 14 deletions

View File

@ -113,7 +113,7 @@ testStringErr (test,
func TestAssignmentLiteralErrInterfaceInt (test *testing.T) { func TestAssignmentLiteralErrInterfaceInt (test *testing.T) {
testStringErr (test, testStringErr (test,
"cannot use float literal as Bird", 6, 2, "cannot use integer literal as Bird", 4, 11,
` `
Bird: ([fly distance:F64] [land]) Bird: ([fly distance:F64] [land])
[main] = { [main] = {