Closed zachwolfe closed 3 years ago
The last line here fails the typechecker for some reason. If I instead assign a string literal, it works.
foo := Foo { a: 24 b: 782 c: "Hello, world!" d: D { e: 13.5 f: 12.2 } g: 32 } foo.c = std.concat(foo.c, "\n")
Nevermind, I forgot concat is in the std.str namespace 🤦♂️
concat
std.str
The last line here fails the typechecker for some reason. If I instead assign a string literal, it works.