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 8898ee6 commit 4bac55eCopy full SHA for 4bac55e
src/dotty/tools/dotc/transform/TraitConstructors.scala
@@ -24,7 +24,7 @@ class TraitConstructors extends MiniPhaseTransform with SymTransformer {
24
def transformSym(sym: SymDenotation)(implicit ctx: Context): SymDenotation = {
25
if (sym.isPrimaryConstructor && (sym.owner is Flags.Trait))
26
// TODO: Someone needs to carefully check if name clashes are possible with this mangling scheme
27
- sym.copySymDenotation(name = nme.INITIALIZER_PREFIX ++ sym.owner.fullNameSeparated("$"))
+ sym.copySymDenotation(name = nme.IMPLCLASS_CONSTRUCTOR)
28
else sym
29
}
30
0 commit comments