Skip to content

Commit af8124f

Browse files
committed
Move stdlib tests to pos
That way we can compile mixed capture-checked and non-capture checked sources. Also, add collection/Iterable.scala to test. We had to add Map as well since there is an incompatibility between the CB sources (from which we take the tests) and the build binaries (against which they are compiled) there.
1 parent 9c4afd6 commit af8124f

File tree

11 files changed

+1466
-3
lines changed

11 files changed

+1466
-3
lines changed

compiler/test/dotc/pos-test-pickling.blacklist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ i17588.scala
2727
# Tree is huge and blows stack for printing Text
2828
i7034.scala
2929

30+
# Causes cyclic reference by interacting with compiler stdlib types
31+
stdlib
32+
3033
# Stale symbol: package object scala
3134
seqtype-cycle
3235

tests/pos/stdlib/Iterable.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
collection/Iterable.scala

tests/pos/stdlib/Map.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
collection/Map.scala

0 commit comments

Comments
 (0)