File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -5,30 +5,14 @@ import java.util.stream.{ Stream => JStream }
5
5
import scala .collection .JavaConverters ._
6
6
7
7
object IdempotencyCheck {
8
- val blacklistedSet = Set (
8
+ val blacklisted = Set (
9
9
// No fix needed. Bridges on collections in different order. Second one in scala2 order.
10
10
" pos/Map/scala/collection/immutable/Map" ,
11
11
" pos/Map/scala/collection/immutable/AbstractMap" ,
12
12
" pos/t1203a/NodeSeq" ,
13
13
" pos/i2345/Whatever"
14
14
)
15
15
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
-
32
16
def checkIdempotency (dirPrefix : String ): Unit = {
33
17
var failed = 0
34
18
var total = 0
You can’t perform that action at this time.
0 commit comments