We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0df46e7 commit e3df5e2Copy full SHA for e3df5e2
compiler/src/dotty/tools/dotc/config/Feature.scala
@@ -107,7 +107,7 @@ object Feature:
107
/** Check that experimental compiler options are only set for snapshot or nightly compiler versions. */
108
def checkExperimentalSettings(using Context): Unit =
109
for setting <- ctx.settings.language.value
110
- if setting.startsWith("experimental.") && setting != "experimental.scala2macros"
+ if setting.startsWith("experimental.") && setting != "experimental.macros"
111
do checkExperimentalFeature(s" $setting")
112
113
end Feature
0 commit comments