summaryrefslogtreecommitdiff
path: root/test/files/pos/t2794.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t2794.scala')
-rw-r--r--test/files/pos/t2794.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/t2794.scala b/test/files/pos/t2794.scala
index caefea4fbb..a17edf8cb3 100644
--- a/test/files/pos/t2794.scala
+++ b/test/files/pos/t2794.scala
@@ -4,6 +4,6 @@ class Entry[T](val k: Key[T], val v: T)
object Entry {
- def makeDefault[T <: AnyRef] = new Entry[T](new Key[T], null: T)
+ def makeDefault[T >: Null <: AnyRef] = new Entry[T](new Key[T], null: T)
}