File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
compiler/src/dotty/tools/dotc/transform Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,11 @@ class Inlining extends MacroTransform, SymTransformer {
62
62
new InliningTreeMap ().transform(tree)
63
63
}
64
64
65
- override def transformSym (sym : SymDenotation )(using Context ): SymDenotation =
66
- if sym .isClass && sym .owner.isInlineTrait && ! sym .is(Module ) then
67
- sym .copySymDenotation(name = newInnerClassName(sym .name), initFlags = (sym .flags &~ Final ) | Trait )
65
+ override def transformSym (symd : SymDenotation )(using Context ): SymDenotation =
66
+ if symd .isClass && symd .owner.isInlineTrait && ! symd .is(Module ) then
67
+ symd .copySymDenotation(name = newInnerClassName(symd .name), initFlags = (symd .flags &~ Final ) | Trait )
68
68
else
69
- sym
69
+ symd
70
70
71
71
def transformInlineTrait (inlineTrait : TypeDef )(using Context ): TypeDef =
72
72
val tpd .TypeDef (_, tmpl : Template ) = inlineTrait : @ unchecked
You can’t perform that action at this time.
0 commit comments