aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-06-29 19:54:09 +0200
committerMartin Odersky <odersky@gmail.com>2016-07-11 13:35:02 +0200
commit830b72432fc02b86e798da24b084264881cbc392 (patch)
tree407bc9fe527ee403621269bf2ee6c6fd8624d671 /test/dotc/tests.scala
parentf1bf78bf8ceb17bfe0b9dc57a6e6f03a9b59065f (diff)
downloaddotty-830b72432fc02b86e798da24b084264881cbc392.tar.gz
dotty-830b72432fc02b86e798da24b084264881cbc392.tar.bz2
dotty-830b72432fc02b86e798da24b084264881cbc392.zip
Change tests
- compileMixed failed because there was a cycle between immutable.Seq (compiled) and parallel.ParSeq (loaded from classfile). Inspection of the completion log (turn completions Printer on) and the stack trace showed that there's nothing we can do here. The old hk scheme did not go into the cycle because it did not force an unrelated type. I believe with enough tweaking we would also hva egotten a cycle in the old hk scheme. The test is "fixed" by adding parallel.ParSeq to the files to compile. - Disable named parameter tests Those tests do not work yet with the revised hk scheme. Before trying to fix this, we should first decide what parts of named parameters should be kept.
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r--test/dotc/tests.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index bac443735..f98b8114c 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -149,6 +149,7 @@ class tests extends CompilerTest {
@Test def compileMixed = compileLine(
"""tests/pos/B.scala
|./scala-scala/src/library/scala/collection/immutable/Seq.scala
+ |./scala-scala/src/library/scala/collection/parallel/ParSeq.scala
|./scala-scala/src/library/scala/package.scala
|./scala-scala/src/library/scala/collection/GenSeqLike.scala
|./scala-scala/src/library/scala/collection/SeqLike.scala