summaryrefslogtreecommitdiff
path: root/test/files/run/lub-visibility.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-03-04 16:44:16 -0800
committerPaul Phillips <paulp@improving.org>2012-03-04 16:54:17 -0800
commit777dbd70f5bc3e903a55aa18f4268adeb8a03084 (patch)
tree6dedd98e68f8abfd30592eb4a85e41745436ab98 /test/files/run/lub-visibility.scala
parentf708b87e559a6402205c9c9d8b2b62ee324fc148 (diff)
downloadscala-777dbd70f5bc3e903a55aa18f4268adeb8a03084.tar.gz
scala-777dbd70f5bc3e903a55aa18f4268adeb8a03084.tar.bz2
scala-777dbd70f5bc3e903a55aa18f4268adeb8a03084.zip
Revert attempt to limit private types in lubs.
Has to be somewhere more directly tied to structural refinements. See run/lub-visibility.scala before/after output for motivation. Closes SI-5534.
Diffstat (limited to 'test/files/run/lub-visibility.scala')
-rw-r--r--test/files/run/lub-visibility.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/lub-visibility.scala b/test/files/run/lub-visibility.scala
new file mode 100644
index 0000000000..8d5d3ae11a
--- /dev/null
+++ b/test/files/run/lub-visibility.scala
@@ -0,0 +1,8 @@
+import scala.tools.partest.ReplTest
+object Test extends ReplTest {
+ def code = """
+ |// should infer List[scala.collection.immutable.Seq[Nothing]]
+ |// but reverted that for SI-5534.
+ |val x = List(List(), Vector())
+ """.stripMargin
+}