Pharo6 supported syntax regression
Hi, apparently in Pharo 6 pragma attributes can no longer be symbols without hash? In Pharo5 I could do method <attr: Something> and it would compile it as symbol In Pharo6 this is syntax error. I am not asking for resolution either direction (although I guess #Something should be canonical), it is just odd to me that the syntax would change (and maybe some code where people like me forgot to add hash sign will break). Peter
2017-03-13 16:47 GMT+01:00 Peter Uhnak <i.uhnak@gmail.com>:
Hi,
apparently in Pharo 6 pragma attributes can no longer be symbols without hash?
In Pharo5 I could do
method <attr: Something>
and it would compile it as symbol
In Pharo6 this is syntax error.
I am not asking for resolution either direction (although I guess #Something should be canonical), it is just odd to me that the syntax would change (and maybe some code where people like me forgot to add hash sign will break).
Actually, I think the behavior in Pharo5 was broken, it should not compile, and we fixed it for Pharo 6.
Peter
participants (2)
-
Nicolai Hess -
Peter Uhnak