Interface synonyms
Posted: 18 Dec 2017 0:23
Hello Thomas,
just a small suggestion regarding interface synonyms, maybe this could be made working in some future version:
just a small suggestion regarding interface synonyms, maybe this could be made working in some future version:
Code: Select all
interface obj{@Type}
domains
myType =
myType_a(@Type);
myType_b.
end interface obj
implement main
domains
obj_unsigned = obj{unsigned}.
clauses
run() :-
Val = obj_unsigned::myType_a(1), %throws error c218 : Unknown class/interface 'obj_unsigned'
stdIO::write(Val).
end implement main