1
0
Fork 0

README.traits "Trait Extending" section update to reflect class extension support

master
Mike Gerwitz 2015-05-27 23:40:30 -04:00
parent f3a8dea25d
commit c27400ca83
1 changed files with 5 additions and 6 deletions

View File

@ -12,12 +12,11 @@ complete.
* TODO Trait Extending * TODO Trait Extending
Currently, the only way for a trait to override methods of a class Traits are able to "extend" classes, thereby declaring interface
it is being mixed into is to implement a common interface. Traits compatability; this is a useful alternative to interfaces when a trait is
should alternatively be able to "extend" classes, which will have designed to augment a specific type. This convenience should be extended
effects similar to Scala in that the trait can only be mixed into to traits: a trait should be able to "extend" another trait in the same
that class. Further, traits should be able to extend and mix in manner that it may extend a class.
other traits (though such should be done conservatively).
* TODO Documentation * TODO Documentation
Due to the trait implementation taking longer than expected to Due to the trait implementation taking longer than expected to