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 d5168c3 commit 1ec9cbbCopy full SHA for 1ec9cbb
src/dotty/tools/dotc/config/Config.scala
@@ -87,8 +87,12 @@ object Config {
87
*/
88
final val checkLambdaVariance = false
89
90
- /** Check that certain types cannot be created in erasedTypes phases */
91
- final val checkUnerased = true
+ /** Check that certain types cannot be created in erasedTypes phases.
+ * Note: Turning this option on will get some false negatives, since it is
92
+ * possible that And/Or types are still created during erasure as the result
93
+ * of some operation on an existing type.
94
+ */
95
+ final val checkUnerased = false
96
97
/** In `derivedSelect`, rewrite
98
*
0 commit comments