Created
October 19, 2012 16:54
-
-
Save darkfrog26/3919304 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait Element | |
trait Parentable extends Element { | |
type P = Element | |
} | |
trait Childable extends Element { | |
type C = Element | |
} | |
class Example extends Parentable with Childable { | |
override type P = Example | |
override type C = Example | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment