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.)"

::classaddDotsubclassString

::methodmakestring
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
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to