We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7142e3d commit d1562cbCopy full SHA for d1562cb
compiler/src/dotty/tools/dotc/config/Feature.scala
@@ -111,7 +111,7 @@ object Feature:
111
* feature is defined.
112
*/
113
def enabled(feature: TermName)(using Context): Boolean =
114
- enabledBySetting(feature) || enabledByImport(feature)
+ enabledBySetting(feature) || enabledByImport(feature) || feature == modularity
115
116
/** Is auto-tupling enabled? */
117
def autoTuplingEnabled(using Context): Boolean = !enabled(nme.noAutoTupling)
0 commit comments