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 69a98aa commit dd9210bCopy full SHA for dd9210b
compiler/src/dotty/tools/dotc/transform/FirstTransform.scala
@@ -61,6 +61,8 @@ class FirstTransform extends MiniPhase with InfoTransformer { thisPhase =>
61
tp
62
}
63
64
+ override protected def mayChange(sym: Symbol)(implicit ctx: Context): Boolean = sym.isClass
65
+
66
override def checkPostCondition(tree: Tree)(implicit ctx: Context): Unit = {
67
tree match {
68
case Select(qual, name) if !name.is(OuterSelectName) && tree.symbol.exists =>
0 commit comments