summaryrefslogblamecommitdiff
path: root/test/files/pos/t2794.scala
blob: caefea4fbbbcd86579c97538b7b0d160692f9e7c (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                    
class Key[T]

class Entry[T](val k: Key[T], val v: T)

object Entry {

    def makeDefault[T <: AnyRef] = new Entry[T](new Key[T], null: T)

}