Skip to content

Commit b5b415a

Browse files
Stop compiling most stuff with Scala 2 (#1113)
1 parent 477aeb8 commit b5b415a

File tree

19 files changed

+172
-556
lines changed

19 files changed

+172
-556
lines changed

.scalafmt.conf

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ newlines.beforeMultiline = keep
1212
newlines.afterCurlyLambdaParams = keep
1313
newlines.alwaysBeforeElseAfterCurlyIf = true
1414

15-
runner.dialect = scala213source3
15+
runner.dialect = scala3
1616

1717
rewrite.rules = [
1818
RedundantBraces
@@ -31,26 +31,6 @@ rewrite.sortModifiers.order = [
3131
"implicit", "sealed", "abstract", "lazy"
3232
]
3333

34-
fileOverride {
35-
"glob:**/scala-3-stable/**" {
36-
runner.dialect = scala3
37-
}
38-
"glob:**/scala-3-unstable/**" {
39-
runner.dialect = scala3
40-
}
41-
"glob:**/sclicheck/**" {
42-
runner.dialect = scala3
43-
}
44-
"glob:**/gifs/**" {
45-
runner.dialect = scala3
46-
}
47-
"glob:**/scala-3.1/**" {
48-
runner.dialect = scala3
49-
}
50-
"glob:**/negative-tests/**" {
51-
runner.dialect = scala3
52-
}
53-
}
5434
project.excludeFilters = [
5535
".bloop"
5636
".metals"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The Scala CLI sources ship with Mill launchers, so that Mill itself doesn't need
3030
#### Run unit tests
3131

3232
```bash
33-
./mill 'build-module[_].test'
33+
./mill 'build-module.test'
3434
```
3535

3636
#### Run integration tests with the JVM launcher

0 commit comments

Comments
 (0)