Skip to content

Instantly share code, notes, and snippets.

@bajohns
Created February 20, 2014 04:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bajohns/9107232 to your computer and use it in GitHub Desktop.
Save bajohns/9107232 to your computer and use it in GitHub Desktop.
trait Foo[T]{
def me: T
}
class Baz extends Foo[Baz] {
def me: Baz = this
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment