Roger Browne wrote:
b = a + aThis will call the "__add" multi, whatever it is.
My real problem occurs in Amber's HLL code where I call functions like "__add" directly (as part of the implementation of Amber's basic types),
Well, as said, that shouldn't be necessary. If your native types define "__add" in PIR or PMCs provide the "add" multi sub, it will be called.
Tcl defines e.g. TclInt.divide inside languages/classes/tclint.pmc and it is called, if MMD type signatures match.
Regards, Roger
leo