April 28, 2013
6:08 p.m.
On Sun, Apr 28, 2013 at 7:57 PM, Denis Kudriashov <dionisiydk@gmail.com>wrote:
Hello.
I found this:
shortcut := $a ctrl. self assert: shortcut == shortcut shift
Why modifiers change receiver state instead of create new instance? To me it is very bad unexpected behaviour.
Hmm, I really never cared before because it was not a problem :$.
There is another example:
shortcut := $a ctrl. self assert: shortcut == (KMModifier shift + shortcut)
Yes. Such operation modified argument of message #+. What the crapp! Why it not returns new instance?
I hope you agree to change this behaviour
The change makes sense, I'm for it :)