summaryrefslogtreecommitdiff
path: root/test/files/pos/t2794.scala
diff options
context:
space:
mode:
authorAntonio Cunei <antonio.cunei@epfl.ch>2009-12-18 15:22:51 +0000
committerAntonio Cunei <antonio.cunei@epfl.ch>2009-12-18 15:22:51 +0000
commit2ab456d13df1ac50539e4620f62f6e234f3c8446 (patch)
tree865acb3c7eb91100b232aa73214687f53e6dd1c9 /test/files/pos/t2794.scala
parenta861322f83c23ef1801a0dcb963020b20f8a1b37 (diff)
downloadscala-2ab456d13df1ac50539e4620f62f6e234f3c8446.tar.gz
scala-2ab456d13df1ac50539e4620f62f6e234f3c8446.tar.bz2
scala-2ab456d13df1ac50539e4620f62f6e234f3c8446.zip
Merged revisions 20229-20233 via svnmerge from
https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk ........ r20229 | odersky | 2009-12-18 16:16:51 +0100 (Fri, 18 Dec 2009) | 1 line Closed #1492. review by extempore ........ r20230 | odersky | 2009-12-18 16:18:44 +0100 (Fri, 18 Dec 2009) | 1 line Closed #2779. review by community. ........ r20231 | odersky | 2009-12-18 16:20:56 +0100 (Fri, 18 Dec 2009) | 1 line added test case for #2775 and commented the handling code in Implicits better. Gilles already had a look so noreview. ........ r20232 | dubochet | 2009-12-18 16:21:44 +0100 (Fri, 18 Dec 2009) | 1 line [scaladoc] Added option "-doc-version" to Scaladoc tool (and "docversion" attribute to ant task). Both "-doc-version" and "-doc-title" can be set, but are not yet used in the output. No review. ........ r20233 | odersky | 2009-12-18 16:22:11 +0100 (Fri, 18 Dec 2009) | 1 line Closed #2801. Had to update a couple of files that already exploited the missing test. ........
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)
}