I thought I understood how this is supposed to work but the following code does not do what I expected:

-- is this a bug?

say.addDot~new(123)~makestring"(should be 123.)"  -- and it is

say.addDot~new(456) "(should be 456.)"


returnself~makestring:super|| .

The second say statement does not run the overriding makestring method but gives "456 (should be 456.)".? What am I missing here?

Gil Barmwater

Oorexx-devel mailing list

Reply via email to