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 37128e4 commit cb362f9Copy full SHA for cb362f9
compiler/src/dotty/tools/dotc/transform/PostTyper.scala
@@ -176,8 +176,10 @@ class PostTyper extends MacroTransform with IdentityDenotTransformer { thisTran
176
Checking.checkRealizable(qual.tpe, qual.pos.focus)
177
super.transform(tree)
178
}
179
- else
180
- transformSelect(paramFwd.adaptRef(fixSignature(tree)), Nil)
+ else {
+ super.transform(transformSelect(paramFwd.adaptRef(fixSignature(tree)), Nil))
181
+ }
182
+
183
case tree: Super =>
184
if (ctx.owner.enclosingMethod.isInlineMethod)
185
ctx.error(em"super not allowed in inline ${ctx.owner}", tree.pos)
0 commit comments