File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,15 @@ object Build {
228228
229229
230230 // Bootstrap with -optimise
231- lazy val commonOptimisedSettings = commonBootstrappedSettings ++ Seq (scalacOptions ++= Seq (" -optimise" ))
231+ lazy val commonOptimisedSettings = commonBootstrappedSettings ++ Seq (
232+ scalacOptions ++= Seq (" -optimise" ),
233+
234+ // The *-bootstrapped and *-optimised projects contain the same sources, so
235+ // we only need to import one set in the IDE. We prefer to import the
236+ // non-optimized projects because optimize is slower to compile and we do
237+ // not trust its output yet.
238+ excludeFromIDE := true
239+ )
232240
233241 lazy val commonBenchmarkSettings = Seq (
234242 mainClass in (Jmh , run) := Some (" dotty.tools.benchmarks.Bench" ), // custom main for jmh:run
You can’t perform that action at this time.
0 commit comments