Apparently this syntax is now legal, and creates a new empty JS array:
dynamic a = dynamic [,];
I was under the impression that ceylon/ceylon#6579 was postponed for now, but it seems @gavinking implemented it and @chochos merged it (ceylon/ceylon@ba16617587), without any further discussion, and now we have to support this.
Any comments on how we want this to look? [,]? [, ]? [ ,]? [ , ]?
Apparently this syntax is now legal, and creates a new empty JS array:
I was under the impression that ceylon/ceylon#6579 was postponed for now, but it seems @gavinking implemented it and @chochos merged it (ceylon/ceylon@ba16617587), without any further discussion, and now we have to support this.
Any comments on how we want this to look?
[,]
?[, ]
?[ ,]
?[ , ]
?