From d1562cbc62039c16050b39b9a930423fc7544223 Mon Sep 17 00:00:00 2001 From: Kacper Korban Date: Mon, 28 Oct 2024 09:49:17 +0100 Subject: [PATCH] Enable modularity by default to test infering tracked --- compiler/src/dotty/tools/dotc/config/Feature.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/dotty/tools/dotc/config/Feature.scala b/compiler/src/dotty/tools/dotc/config/Feature.scala index ad20bab46c1e..c70d4f9e9da6 100644 --- a/compiler/src/dotty/tools/dotc/config/Feature.scala +++ b/compiler/src/dotty/tools/dotc/config/Feature.scala @@ -111,7 +111,7 @@ object Feature: * feature is defined. */ def enabled(feature: TermName)(using Context): Boolean = - enabledBySetting(feature) || enabledByImport(feature) + enabledBySetting(feature) || enabledByImport(feature) || feature == modularity /** Is auto-tupling enabled? */ def autoTuplingEnabled(using Context): Boolean = !enabled(nme.noAutoTupling)