Skip to content

Commit eb4c96a

Browse files
committed
compile bootstrapped with semanticdb
1 parent 45571b2 commit eb4c96a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

compiler/test/dotty/tools/vulpix/TestConfiguration.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ object TestConfiguration {
1616
"-Yno-deep-subtypes",
1717
"-Yno-double-bindings",
1818
"-Yforce-sbt-phases",
19-
// "-Ysemanticdb",
19+
"-Ysemanticdb",
2020
"-Xverify-signatures"
2121
)
2222

project/Build.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,10 @@ object Build {
299299
},
300300
*/
301301

302+
scalacOptions ~= { old =>
303+
if (old.contains("-Ysemanticdb")) old else old :+ "-Ysemanticdb"
304+
},
305+
302306
// sbt gets very unhappy if two projects use the same target
303307
target := baseDirectory.value / ".." / "out" / "bootstrap" / name.value,
304308

0 commit comments

Comments
 (0)