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