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.
inline
1 parent 2eb743c commit 3f99915Copy full SHA for 3f99915
compiler/src/dotty/tools/dotc/transform/Mixin.scala
@@ -131,7 +131,7 @@ class Mixin extends MiniPhase with SymTransformer { thisPhase =>
131
if (sym.is(Accessor, butNot = Deferred) && sym.owner.is(Trait)) {
132
val sym1 =
133
if (sym.is(Lazy)) sym
134
- else sym.copySymDenotation(initFlags = sym.flags &~ ParamAccessor | Deferred)
+ else sym.copySymDenotation(initFlags = sym.flags &~ (ParamAccessor | Inline) | Deferred)
135
sym1.ensureNotPrivate
136
}
137
else if sym.isAllOf(ModuleClass | Private) && sym.owner.is(Trait) then
0 commit comments