File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
compiler/src/dotty/tools/dotc/config Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ object Feature:
2626 val dependent = experimental(" dependent" )
2727 val erasedDefinitions = experimental(" erasedDefinitions" )
2828 val symbolLiterals : TermName = deprecated(" symbolLiterals" )
29+ val macros = experimental(" macros" )
2930
3031 val experimentalWarningMessage = " Experimental features may only be used with nightly or snapshot version of compiler."
3132
@@ -36,8 +37,8 @@ object Feature:
3637
3738 def isExperimental (feature : TermName ): Boolean =
3839 feature match
39- case QualifiedName (nme.experimental, _) => true
40- case _ => true
40+ case QualifiedName (nme.experimental, _) => feature != macros
41+ case _ => false
4142
4243 /** Is `feature` enabled by by a command-line setting? The enabling setting is
4344 *
You can’t perform that action at this time.
0 commit comments