summaryrefslogtreecommitdiff
path: root/test/files/jvm/manifests.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-11-29 22:20:39 +0000
committerPaul Phillips <paulp@improving.org>2010-11-29 22:20:39 +0000
commitcbcf3f505144297ad197d0086ea7a4c4f1fbb598 (patch)
treebcacfa37635ad8293c831c3bd313806396cede76 /test/files/jvm/manifests.check
parentfa822e3ef63a7e11345dcdd2c81a1f565093a63c (diff)
downloadscala-cbcf3f505144297ad197d0086ea7a4c4f1fbb598.tar.gz
scala-cbcf3f505144297ad197d0086ea7a4c4f1fbb598.tar.bz2
scala-cbcf3f505144297ad197d0086ea7a4c4f1fbb598.zip
"I invite everyone to change this rule, and obs...
"I invite everyone to change this rule, and observe what breaks!" This much beloved comment from #1208 has been on my radar for two years. The worm has turned. Closes #1208. The inferred type of an object is now Foo.type instead of "object Foo". What once was this: scala> val x: Map[Int, Singleton] = Map(1 -> None) <console>:5: error: type mismatch; found : (Int, object None) required: (Int, Singleton) Now exudes a pleasing aura of workingness: scala> val x: Map[Int, Singleton] = Map(1 -> None) x: Map[Int,Singleton] = Map(1 -> None) No review.
Diffstat (limited to 'test/files/jvm/manifests.check')
-rw-r--r--test/files/jvm/manifests.check2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/files/jvm/manifests.check b/test/files/jvm/manifests.check
index 69ab066b87..3b8ca5b5b1 100644
--- a/test/files/jvm/manifests.check
+++ b/test/files/jvm/manifests.check
@@ -23,8 +23,6 @@ x=(1,2), m=scala.Tuple2[Int, Int]
x=(abc,xyz), m=scala.Tuple2[java.lang.String, java.lang.String]
x=('abc,'xyz), m=scala.Tuple2[scala.Symbol, scala.Symbol]
-x=Test$, m=Test$
-x=scala.collection.immutable.List$, m=scala.collection.immutable.List$
x=Foo, m=Foo[Int]
x=Foo, m=Foo[scala.collection.immutable.List[Int]]