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
The method GLMTransmission>>from: takes a parameter 'aPort'. However, this method is
most of the time used with a pane symbol instead of a port. This is confusing as the
Moose book says
"
For specifying a transmission origin that points to a #selection port
of a pane, you simply use from:.
"
In this case it is clear that the port is #selection and it is the default. The reader
is then waiting for an implementation similar to:
GLMTransmission>>from: aPaneSymbol
^ self from: aPaneSymbol port: #selection
Reported by damien.cassou on 2011-04-23 16:12:23
The text was updated successfully, but these errors were encountered:
The problem is that beforehand we only had from: which could receive either a symbol
for the pane, or an association for the port. This was bad, and now Glamour offers
from:port:, but there are still legacy cases of from: being called with an association.
The Moose Book does not talk about this, because we want to go away from it. But, at
the moment, it won't get fixed.
For the moment, the solution is to add a comment explaining the situation.
Name: Glamour-Scripting-TudorGirba.118
Author: TudorGirba
Time: 1 May 2011, 1:57:50 am
UUID: cc6a591b-ca5c-4b56-a575-4d54bf9d5f06
Ancestors: Glamour-Scripting-TudorGirba.117
added comment to address issue http://code.google.com/p/moose-technology/issues/detail?id=595
Originally reported on Google Code with ID 595
Reported by
damien.cassou
on 2011-04-23 16:12:23The text was updated successfully, but these errors were encountered: