mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Allow trailing commas when writing a compound
This commit is contained in:
8
test/scripts/trailing-comma-bugfix.toy
Normal file
8
test/scripts/trailing-comma-bugfix.toy
Normal file
@@ -0,0 +1,8 @@
|
||||
var array = [
|
||||
1, 2, 3,
|
||||
4, 5, 6,
|
||||
7, 8, 9, //explicitly leave a trailing comma
|
||||
];
|
||||
|
||||
|
||||
print "All good";
|
||||
Reference in New Issue
Block a user