You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we all know, the equality between Symbol and String is one of the big difference between Smalltalk dialects. In Pharo it is true while in other dialects like GemStone or VAST, it is false. Therefore, I propose to change the line
callbackDraggable: [ :e | top := (e at: #position) at:#top. left := (e at: #position) at:#left ];
to:
callbackDraggable: [ :e | top := (e at: #position) at: 'top'. left := (e at: #position) at: 'left' ];
As the keys are originally as String, that would work in all dialects.
The text was updated successfully, but these errors were encountered:
marianopeck
added a commit
to instantiations/Seaside
that referenced
this issue
Jul 19, 2021
As we all know, the equality between
Symbol
andString
is one of the big difference between Smalltalk dialects. In Pharo it is true while in other dialects like GemStone or VAST, it is false. Therefore, I propose to change the linecallbackDraggable: [ :e | top := (e at: #position) at:#top. left := (e at: #position) at:#left ];
to:
callbackDraggable: [ :e | top := (e at: #position) at: 'top'. left := (e at: #position) at: 'left' ];
As the keys are originally as String, that would work in all dialects.
The text was updated successfully, but these errors were encountered: