aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotty/tools/StdLibSources.scala
diff options
context:
space:
mode:
authorNicolas Stucki <nicolas.stucki@gmail.com>2017-01-05 11:30:36 +0100
committerNicolas Stucki <nicolas.stucki@gmail.com>2017-01-05 11:30:36 +0100
commitd81fbda457620e5a117490684b21be253e992fa5 (patch)
tree9e4759c14c257435e188c62a7df00541c87aca80 /compiler/test/dotty/tools/StdLibSources.scala
parent66a340937b0adead0aa7a96e21f68d43a03cba00 (diff)
downloaddotty-d81fbda457620e5a117490684b21be253e992fa5.tar.gz
dotty-d81fbda457620e5a117490684b21be253e992fa5.tar.bz2
dotty-d81fbda457620e5a117490684b21be253e992fa5.zip
Remove whitelist and keep only blacklist.
Now that that the blacklist is fully know and is small enough, it will be simpler to maintain only the blacklist.
Diffstat (limited to 'compiler/test/dotty/tools/StdLibSources.scala')
-rw-r--r--compiler/test/dotty/tools/StdLibSources.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/test/dotty/tools/StdLibSources.scala b/compiler/test/dotty/tools/StdLibSources.scala
index 9afb81d20..46049a2b7 100644
--- a/compiler/test/dotty/tools/StdLibSources.scala
+++ b/compiler/test/dotty/tools/StdLibSources.scala
@@ -6,10 +6,9 @@ import scala.io.Source
object StdLibSources {
- def whitelistFile: String = "./test/dotc/scala-collections.whitelist"
def blacklistFile: String = "./test/dotc/scala-collections.blacklist"
- def whitelisted: List[String] = loadList(whitelistFile)
+ def whitelisted: List[String] = (all.toSet -- blacklisted).toList
def blacklisted: List[String] = loadList(blacklistFile)
def all: List[String] = {