File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -737,6 +737,8 @@ object Build {
737737
738738 lazy val `dotty-library` = project.in(file(" library" )).asDottyLibrary(NonBootstrapped )
739739 lazy val `dotty-library-bootstrapped` : Project = project.in(file(" library" )).asDottyLibrary(Bootstrapped )
740+ // TODO: move -Yerased-terms to dottyLibrarySettings on reference compiler update
741+ .settings(scalacOptions in Compile += " -Yerased-terms" ) // support declaration of scala.compiletime.erasedValue
740742
741743 def dottyLibrary (implicit mode : Mode ): Project = mode match {
742744 case NonBootstrapped => `dotty-library`
@@ -758,6 +760,7 @@ object Build {
758760 settings(
759761 unmanagedSourceDirectories in Compile :=
760762 (unmanagedSourceDirectories in (`dotty-library-bootstrapped`, Compile )).value,
763+ scalacOptions += " -Yerased-terms" , // support declaration of scala.compiletime.erasedValue
761764 )
762765
763766 lazy val tastyCoreSettings = Seq (
You can’t perform that action at this time.
0 commit comments