Skip to content

Commit 47923f2

Browse files
committed
Fix bootstrapping presentation compiler
1 parent 816062f commit 47923f2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

project/Build.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,6 +1297,10 @@ object Build {
12971297
.asScala3PresentationCompiler(NonBootstrapped)
12981298
lazy val `scala3-presentation-compiler-bootstrapped` = project.in(file("presentation-compiler"))
12991299
.asScala3PresentationCompiler(Bootstrapped)
1300+
.settings(
1301+
// Add `-Yno-flexible-types` flag for bootstrap, see comments for `bootstrappedDottyCompilerSettings`
1302+
Compile / scalacOptions += "-Yno-flexible-types"
1303+
)
13001304

13011305
def scala3PresentationCompiler(implicit mode: Mode): Project = mode match {
13021306
case NonBootstrapped => `scala3-presentation-compiler`

0 commit comments

Comments
 (0)