aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotc/tests.scala
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2017-03-13 18:32:09 +0100
committerGuillaume Martres <smarter@ubuntu.com>2017-03-13 18:32:11 +0100
commit8997bf17e2994a5b5e2edd06835f4cdc543e57ed (patch)
tree01a61853620bed7c8078755664490eb149db8e98 /compiler/test/dotc/tests.scala
parentb3194406d8e1a28690faee12257b53f9dcf49506 (diff)
downloaddotty-8997bf17e2994a5b5e2edd06835f4cdc543e57ed.tar.gz
dotty-8997bf17e2994a5b5e2edd06835f4cdc543e57ed.tar.bz2
dotty-8997bf17e2994a5b5e2edd06835f4cdc543e57ed.zip
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.
Diffstat (limited to 'compiler/test/dotc/tests.scala')
-rw-r--r--compiler/test/dotc/tests.scala1
1 files changed, 1 insertions, 0 deletions
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