Skip to content

Commit 2ef4d67

Browse files
Remove collection-strawman submodule and tests
1 parent 03887b7 commit 2ef4d67

22 files changed

+16
-23
lines changed

.gitmodules

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,3 @@
66
path = scala2-library
77
url = https://github.com/lampepfl/scala.git
88
branch = dotty-library2.12
9-
[submodule "collection-strawman"]
10-
path = collection-strawman
11-
url = https://github.com/dotty-staging/collection-strawman.git
12-
branch = dotty

bench/scripts/collection-strawman-cold.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

bench/scripts/collection-strawman.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

collection-strawman

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 7b2d8ac0487d52b076b751d6a590a879d71fc7c3
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 812caf0292144ae0e3a00723e235b2563c351d7d
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 9f14d47276848997d97780987d0320509f8b368d
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 2a72cbec7d8cad5da8cd2d22418a5551fc921a1f
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit d2b8b630ad448300673dc97cbea01ce56ffaec38
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 0c1fe0a5fd681ff4d94a58dc6f73e019982e9d78
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 6b3fe5165ccc46db460be051ef042d002a9b996a
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit b66556a551fe3cec24d0fea6841401d99557b1e0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit cfc40267d9fbc6bc501f73554c7aeb1abefea3cd
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit fedd604caa175bd0791cb21179b700ca9fcf5698
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit bed617b04c066517fddd235c73f8b5db3bdc0950
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit bfa61a92947b6ac1eab384fd5e46f2fbfe696c4a
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 655bca8ee5b842e7ceba9709c307701cf36c10bf
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.13.0-bin-SNAPSHOT

community-build/sbt-dotty.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.2.7-SNAPSHOT")

compiler/test/dotty/tools/dotc/CompilationTests.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ class CompilationTests extends ParallelTesting {
6363
),
6464
scala2Mode
6565
) +
66-
compileDir("collection-strawman/collections/src/main", defaultOptions.and("-Yno-imports")) +
6766
compileFilesInDir("tests/pos-special/spec-t5545", defaultOptions) +
6867
compileFilesInDir("tests/pos-special/strawman-collections", defaultOptions) +
6968
compileFilesInDir("tests/pos-special/isInstanceOf", allowDeepSubtypes.and("-Xfatal-warnings")) +

compiler/test/dotty/tools/dotc/IdempotencyTests.scala

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ class IdempotencyTests extends ParallelTesting {
3232

3333
def sourcesFrom(dir: Path) = CompilationTests.sources(Files.walk(dir))
3434

35-
val strawmanSources = sourcesFrom(Paths.get("collection-strawman/collections/src/main"))
36-
val strawmanSourcesSorted = strawmanSources.sorted
37-
val strawmanSourcesRevSorted = strawmanSourcesSorted.reverse
3835

3936
val posIdempotency = {
4037
compileFilesInDir("tests/pos", opt)(TestGroup("idempotency/posIdempotency1")) +
@@ -51,13 +48,6 @@ class IdempotencyTests extends ParallelTesting {
5148
}).reduce(_ + _)
5249
}
5350

54-
val strawmanIdempotency = {
55-
compileList("strawman0", strawmanSources, opt) +
56-
compileList("strawman1", strawmanSources, opt) +
57-
compileList("strawman2", strawmanSourcesSorted, opt) +
58-
compileList("strawman3", strawmanSourcesRevSorted, opt)
59-
}
60-
6151
def check(name: String) = {
6252
val files = List(s"tests/idempotency/$name.scala", "tests/idempotency/IdempotencyCheck.scala")
6353
compileList(name, files, defaultOptions)(TestGroup("idempotency/check"))
@@ -70,8 +60,6 @@ class IdempotencyTests extends ParallelTesting {
7060
}
7161

7262
val allTests = {
73-
// Disabled until strawman is fixed
74-
// strawmanIdempotency +
7563
orderIdempotency +
7664
posIdempotency
7765
}

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ object Build {
162162
}
163163

164164
// Make sure all submodules are properly cloned
165-
val submodules = List("scala-backend", "scala2-library", "collection-strawman")
165+
val submodules = List("scala-backend", "scala2-library")
166166
if (!submodules.forall(exists)) {
167167
sLog.value.log(Level.Error,
168168
s"""Missing some of the submodules

0 commit comments

Comments
 (0)