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 {
737
737
738
738
lazy val `dotty-library` = project.in(file(" library" )).asDottyLibrary(NonBootstrapped )
739
739
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
740
742
741
743
def dottyLibrary (implicit mode : Mode ): Project = mode match {
742
744
case NonBootstrapped => `dotty-library`
@@ -758,6 +760,7 @@ object Build {
758
760
settings(
759
761
unmanagedSourceDirectories in Compile :=
760
762
(unmanagedSourceDirectories in (`dotty-library-bootstrapped`, Compile )).value,
763
+ scalacOptions += " -Yerased-terms" , // support declaration of scala.compiletime.erasedValue
761
764
)
762
765
763
766
lazy val tastyCoreSettings = Seq (
You can’t perform that action at this time.
0 commit comments