You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
don't disable all scalacOptions, only selectively Ysafe-init and Xcheck-macros
In the community build runner, comments for the shapeless and protoquill
projects say to disable the Ysafe-init and Xcheck-macros options, but
the implementation disables all scalacOptions. This change makes the
implementation match the comments.
Also, the comment for protoquill incorrectly stated that Ysafe-init
needs to be disabled due to a buggy macro. The project works fine with
Ysafe-init, but the buggy macro requires Xcheck-macros disabled.
scalacOptions =Nil// disable -Ysafe-init, due to -Xfatal-warnings
375
+
scalacOptions =SbtCommunityProject.scalacOptions.filter(_ !="-Ysafe-init"), // due to -Xfatal-warnings
376
376
)
377
377
378
378
lazyvalxmlInterpolator=SbtCommunityProject(
@@ -682,7 +682,7 @@ object projects:
682
682
sbtTestCommand ="runCommunityBuild",
683
683
sbtPublishCommand ="publishLocal",
684
684
dependencies =List(scalatest),
685
-
scalacOptions =List("-language:implicitConversions"), // disabled -Ysafe-init, due to bug in macro
685
+
scalacOptions =SbtCommunityProject.scalacOptions.filter(_ !="-Xcheck-macros") :+"-language:implicitConversions", // disabled -Xcheck-macros, due to bug in macro
0 commit comments