Skip to content

Commit c0bfebd

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 3c61627 commit c0bfebd

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
@@ -146,6 +146,7 @@ class tests extends CompilerTest {
146146
@Test def compileMixed = compileLine(
147147
"""tests/pos/B.scala
148148
|./scala-scala/src/library/scala/collection/immutable/Seq.scala
149+
|./scala-scala/src/library/scala/collection/parallel/ParSeq.scala
149150
|./scala-scala/src/library/scala/package.scala
150151
|./scala-scala/src/library/scala/collection/GenSeqLike.scala
151152
|./scala-scala/src/library/scala/collection/SeqLike.scala

0 commit comments

Comments
 (0)