From d81fbda457620e5a117490684b21be253e992fa5 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Thu, 5 Jan 2017 11:30:36 +0100 Subject: 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. --- compiler/test/dotty/tools/StdLibSources.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'compiler/test/dotty/tools/StdLibSources.scala') 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] = { -- cgit v1.2.3