Retoor software development Projects Research SearchXNG
Register Sign In

15 lines
197 B
Plaintext
Raw Normal View History

fix: add list newline handling and resolve multiple test TODOs across compiler and test suite - Add TOKEN_LINE matching after list elements in compiler to allow newlines before commas or closing brackets - Add tests for list newline handling, EOF after comma/element, and class name inside body - Remove resolved TODOs for default constructors, inherited fields, metaclass is checks, zero comparison, and bitwise not behavior
2013-12-20 21:42:11 +01:00
// Allow newlines in most places.
var list = [
"a"
, "b",
"c", "d"
]
io.write(list[0]) // expect: a
io.write(list[1]) // expect: b
io.write(list[2]) // expect: c
io.write(list[3]) // expect: d
Reference in New Issue Copy Permalink
d9255666f4
wren/test/list/newlines.wren
Response time: 49ms
Mail Licenses API