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 f67aff0 commit 1a9b0f7Copy full SHA for 1a9b0f7
src/compiler/scala/tools/nsc/transform/Mixin.scala
@@ -297,7 +297,7 @@ abstract class Mixin extends InfoTransform with ast.TreeDSL {
297
*/
298
override def transformInfo(sym: Symbol, tp: Type): Type = {
299
if (sym.isPrivate && sym.owner.isTrait) {
300
- // TODO: why not do this from the start?
+ // TODO: why not do this from the start? (maybe because it name-mangles depending on the class??)
301
if ((sym hasFlag (ACCESSOR | SUPERACCESSOR))
302
|| sym.isModule // 5
303
|| sym.isLocalToThis) // 7 TODO what did `&& sym.getterIn(sym.owner.toInterface) == NoSymbol` do?
0 commit comments