Skip to content

Commit 9a5a46c

Browse files
committed
Remove blacklisted inner method and objects
1 parent f759935 commit 9a5a46c

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

tests/idempotency/IdempotencyCheck.scala

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,14 @@ import java.util.stream.{ Stream => JStream }
55
import scala.collection.JavaConverters._
66

77
object IdempotencyCheck {
8-
val blacklistedSet = Set(
8+
val blacklisted = Set(
99
// No fix needed. Bridges on collections in different order. Second one in scala2 order.
1010
"pos/Map/scala/collection/immutable/Map",
1111
"pos/Map/scala/collection/immutable/AbstractMap",
1212
"pos/t1203a/NodeSeq",
1313
"pos/i2345/Whatever"
1414
)
1515

16-
def blacklisted(s: String) = {
17-
blacklistedSet(s) ||
18-
// FIXME: non-deterministic method/class names
19-
s.contains("$$anon$") ||
20-
s.contains("$$anonfun$") ||
21-
s.contains("$accu$") ||
22-
s.contains("$accum$") ||
23-
s.startsWith("/dotty/dotty/tools/dotc/sbt/ExtractAPICollector$classFirstSort$") ||
24-
s.startsWith("/dotty/dotty/tools/dotc/transform/PatternMatcher$Translator$TreeMakers$IntEqualityTestTreeMaker$") ||
25-
s.startsWith("dotty/dotty/tools/dotc/transform/Constructors$intoConstr$") ||
26-
s.startsWith("/dotty/dotty/tools/dotc/typer/RefChecks$MixinOverrideError$") ||
27-
s.startsWith("/dotty/dotty/tools/dotc/typer/ImplicitRunInfo$liftToClasses$") ||
28-
s.startsWith("/dotty/dotty/tools/dotc/typer/Inliner$addAccessors$") ||
29-
s.startsWith("/dotty/dotty/tools/dotc/typer/ErrorReporting$reported$")
30-
}
31-
3216
def checkIdempotency(dirPrefix: String): Unit = {
3317
var failed = 0
3418
var total = 0

0 commit comments

Comments
 (0)