aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2015-11-09 09:53:27 +0100
committerodersky <odersky@gmail.com>2015-11-09 09:53:27 +0100
commitb3a1626d81385624f1db894a360288b85e8b3585 (patch)
treed796e885f95ba60b2367b619639d9cfd248b025d /test
parent3d5a2e2987066a1575db2874cf2c4721a1a66de1 (diff)
parent9767782a4766826ef903836609cb34c9bad2df61 (diff)
downloaddotty-b3a1626d81385624f1db894a360288b85e8b3585.tar.gz
dotty-b3a1626d81385624f1db894a360288b85e8b3585.tar.bz2
dotty-b3a1626d81385624f1db894a360288b85e8b3585.zip
Merge pull request #927 from dotty-staging/stdlib-bounds
Drop checking that lower bound is a subtype of upper bound.
Diffstat (limited to 'test')
-rw-r--r--test/dotc/scala-collections.whitelist3
-rw-r--r--test/dotc/tests.scala1
2 files changed, 2 insertions, 2 deletions
diff --git a/test/dotc/scala-collections.whitelist b/test/dotc/scala-collections.whitelist
index ede1a14dc..76fa64c8e 100644
--- a/test/dotc/scala-collections.whitelist
+++ b/test/dotc/scala-collections.whitelist
@@ -110,8 +110,7 @@
./scala-scala/src/library/scala/collection/immutable/Iterable.scala
./scala-scala/src/library/scala/collection/immutable/LinearSeq.scala
-# https://github.com/lampepfl/dotty/issues/915
-# ./scala-scala/src/library/scala/collection/immutable/List.scala
+./scala-scala/src/library/scala/collection/immutable/List.scala
./scala-scala/src/library/scala/collection/immutable/MapProxy.scala
./scala-scala/src/library/scala/collection/immutable/PagedSeq.scala
./scala-scala/src/library/scala/collection/immutable/Queue.scala
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index c8cbeec94..1bd37125f 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -108,6 +108,7 @@ class tests extends CompilerTest {
@Test def neg_abstractOverride() = compileFile(negDir, "abstract-override", xerrors = 2)
@Test def neg_blockescapes() = compileFile(negDir, "blockescapesNeg", xerrors = 1)
+ @Test def neg_bounds() = compileFile(negDir, "bounds", xerrors = 2)
@Test def neg_typedapply() = compileFile(negDir, "typedapply", xerrors = 4)
@Test def neg_typedIdents() = compileDir(negDir, "typedIdents", xerrors = 2)
@Test def neg_assignments() = compileFile(negDir, "assignments", xerrors = 3)