Open koendehondt opened 1 day ago
Bug description
An array literal is written like this:
#( 1 2 3)
But apparently Pharo allows an arbitrary number of hash signs:
##( 1 2 3) ###( 1 2 3) ####( 1 2 3) #####( 1 2 3) ######( 1 2 3) #######( 1 2 3) etc
All these literals evaluate to an array with integers 1, 2, and 3.
Is that expected/desired behaviour?
also ###ABC = #ABC the answer is true
it ignores all the # but one.
I do not like that, it accepts bad code and makes ##() un-availabe for experiments (or even usage for something)
Bug description
An array literal is written like this:
But apparently Pharo allows an arbitrary number of hash signs:
All these literals evaluate to an array with integers 1, 2, and 3.
Is that expected/desired behaviour?