Created
May 20, 2013 11:25
-
-
Save milessabin/5611702 to your computer and use it in GitHub Desktop.
Since when was "<:" an alias for "extends" ... not that I'm complaining, mind ;-)
This file contains hidden or 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
scala> trait Foo ; trait Bar <: Foo | |
defined trait Foo | |
defined trait Bar | |
scala> implicitly[Bar <:< Foo] | |
res2: <:<[Bar,Foo] = <function1> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would appear to be the offending commit (search for YvirtClasses) scala/scala@4253124 ... calling @paulp ...