aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/config/Config.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/config/Config.scala')
-rw-r--r--src/dotty/tools/dotc/config/Config.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/config/Config.scala b/src/dotty/tools/dotc/config/Config.scala
index 7e3615416..cf43d277e 100644
--- a/src/dotty/tools/dotc/config/Config.scala
+++ b/src/dotty/tools/dotc/config/Config.scala
@@ -87,6 +87,15 @@ object Config {
/** Check that certain types cannot be created in erasedTypes phases */
final val checkUnerased = true
+ /** In `derivedSelect`, rewrite
+ *
+ * (S & T)#A --> S#A & T#A
+ * (S | T)#A --> S#A | T#A
+ *
+ * Not sure whether this is useful. Preliminary measurements show a slowdown of about
+ * 7% for the build when this option is enabled.
+ */
+ final val splitProjections = false
/** Initial size of superId table */
final val InitialSuperIdsSize = 4096