The definition of ClassA uses a trait, such as "uses: TEasilyThemed" ClassB is a subclass of ClassA. Does ClassB inherit the trait from ClassA, or does ClassB have to separately state its own "uses:TEasilyThemed" clause? -- View this message in context: http://forum.world.st/Inheriting-traits-tp3510198p3510198.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
It inherits it. Stef On May 9, 2011, at 10:01 PM, DougEdmunds wrote:
The definition of ClassA uses a trait, such as "uses: TEasilyThemed"
ClassB is a subclass of ClassA.
Does ClassB inherit the trait from ClassA, or does ClassB have to separately state its own "uses:TEasilyThemed" clause?
-- View this message in context: http://forum.world.st/Inheriting-traits-tp3510198p3510198.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
participants (2)
-
DougEdmunds -
Stéphane Ducasse