Skip to content

Instantly share code, notes, and snippets.

@jedws
Forked from michaelpj/scala2.10.1-RC1broken.scala
Last active December 14, 2015 04:19
Show Gist options
  • Save jedws/5027251 to your computer and use it in GitHub Desktop.
Save jedws/5027251 to your computer and use it in GitHub Desktop.
trait Higher[F[_]]
trait Box[A]
object Box {
implicit def HigherBox = new Higher[Box] {}
}
object Foo {
val box = implicitly[Higher[Box]] // compiles fine !!!
type Bar[A] = Box[A]
val bar = implicitly[Higher[Bar]] // <-- this doesn't compile in 2.10.1-RC1, but does in 2.10.0 !!!
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment