Thank you,

Originally Posted by
marc
If Slice were to support more inheritance relationships, such as multiple class inheritance, a language mapping from Slice to Java would not be possible, or at least very complicated.
but I would not like to use multiple class inheritace...
My qouestion was there because I thougth that
Code:
class C {
string a;
nonmutating string getA();
};
is somehow implemented like:
Code:
interface C {
nonmutating string getA();
};
class C implements C {
string a;
};
and when C is used for passing by reference, it is that interface, if it is passed by value, it is that class.
And I would like to implement only more these interfaces (thats why I used word "implements" and not "extends").
On other hand if it is not possible, it is OK.
thank you,
Michal