diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2017-03-13 21:43:13 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2017-03-13 21:43:14 +0100 |
commit | bba147a4c38727ef2bae2769a85369cf11a8e6b5 (patch) | |
tree | 53ff023a3d4b2cb6928ebf9091c117c73fa7e373 /compiler/test/dotc/tests.scala | |
parent | 8997bf17e2994a5b5e2edd06835f4cdc543e57ed (diff) | |
download | dotty-bba147a4c38727ef2bae2769a85369cf11a8e6b5.tar.gz dotty-bba147a4c38727ef2bae2769a85369cf11a8e6b5.tar.bz2 dotty-bba147a4c38727ef2bae2769a85369cf11a8e6b5.zip |
Fix #2089: Error when compiling ParSetLike, ParSet, SetLike, in this order
This fix is inspired by 6c91684, but I couldn't tell you why it works
exactly, it's just something I tried.
Diffstat (limited to 'compiler/test/dotc/tests.scala')
-rw-r--r-- | compiler/test/dotc/tests.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/test/dotc/tests.scala b/compiler/test/dotc/tests.scala index 78a8aefd5..01db2d9cc 100644 --- a/compiler/test/dotc/tests.scala +++ b/compiler/test/dotc/tests.scala @@ -225,6 +225,10 @@ class tests extends CompilerTest { |../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 compileParSetSubset = compileLine( + """../scala-scala/src/library/scala/collection/parallel/mutable/ParSetLike.scala + |../scala-scala/src/library/scala/collection/parallel/mutable/ParSet.scala + |../scala-scala/src/library/scala/collection/mutable/SetLike.scala""".stripMargin)(scala2mode ++ defaultOptions) @Test def dotty = { dottyBootedLib |