Skip to content

Commit 5182a58

Browse files
committed
Change test to make it pass
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.
1 parent 392090a commit 5182a58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/dotc/tests.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ class tests extends CompilerTest {
149149
@Test def compileMixed = compileLine(
150150
"""tests/pos/B.scala
151151
|./scala-scala/src/library/scala/collection/immutable/Seq.scala
152+
|./scala-scala/src/library/scala/collection/parallel/ParSeq.scala
152153
|./scala-scala/src/library/scala/package.scala
153154
|./scala-scala/src/library/scala/collection/GenSeqLike.scala
154155
|./scala-scala/src/library/scala/collection/SeqLike.scala

0 commit comments

Comments
 (0)