- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.1k
Closed
Description
The following causes the compiler to crash when trying to pickle some trees.
class Contra[-D](task: AnyRef)
object Test {
  def narrow(task: AnyRef): Contra[task.type] = new Contra(task)
  def ident[Before](elems: Contra[Before]): Contra[Before] = elems
  val foo = null
  ident(narrow(foo))
}The output from the compiler is here.