From 8997bf17e2994a5b5e2edd06835f4cdc543e57ed Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Mon, 13 Mar 2017 18:32:09 +0100 Subject: Fix compilation of ParSetLike by itself Before this commit, ParSetLike compiled fine as part of compileStdLib but crashed when compiled by itself because we tried to force a LazyRef while forcing the same LazyRef. This commit fixes this by being slightly more lazy where it matters. --- compiler/test/dotc/tests.scala | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/test/dotc/tests.scala') diff --git a/compiler/test/dotc/tests.scala b/compiler/test/dotc/tests.scala index 0c4668a89..78a8aefd5 100644 --- a/compiler/test/dotc/tests.scala +++ b/compiler/test/dotc/tests.scala @@ -224,6 +224,7 @@ class tests extends CompilerTest { |../scala-scala/src/library/scala/collection/SeqLike.scala |../scala-scala/src/library/scala/collection/generic/GenSeqFactory.scala""".stripMargin) @Test def compileIndexedSeq = compileLine("../scala-scala/src/library/scala/collection/immutable/IndexedSeq.scala") + @Test def compileParSetLike = compileLine("../scala-scala/src/library/scala/collection/parallel/mutable/ParSetLike.scala") @Test def dotty = { dottyBootedLib -- cgit v1.2.3