summaryrefslogtreecommitdiff
path: root/test/files/pos/t2794.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2009-12-18 15:22:11 +0000
committerMartin Odersky <odersky@gmail.com>2009-12-18 15:22:11 +0000
commit7ddabed25a5e559d660a9de53ddf2a3ddabf209c (patch)
treedfb1ca7a34efb815850175ad8659bb944340354d /test/files/pos/t2794.scala
parent70ed6680a571b0ca0cae338b4af1fe965116ab61 (diff)
downloadscala-7ddabed25a5e559d660a9de53ddf2a3ddabf209c.tar.gz
scala-7ddabed25a5e559d660a9de53ddf2a3ddabf209c.tar.bz2
scala-7ddabed25a5e559d660a9de53ddf2a3ddabf209c.zip
Closed #2801.
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)
}