Skip to content

Commit 1510db9

Browse files
committed
Add comment
1 parent a5eae5a commit 1510db9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/core/SymDenotations.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1632,7 +1632,7 @@ object SymDenotations {
16321632
override def primaryConstructor(implicit ctx: Context): Symbol = {
16331633
def constrNamed(cname: TermName) = info.decls.denotsNamed(cname).last.symbol
16341634
// denotsNamed returns Symbols in reverse order of occurrence
1635-
if (this.is(ImplClass)) constrNamed(nme.TRAIT_CONSTRUCTOR)
1635+
if (this.is(ImplClass)) constrNamed(nme.TRAIT_CONSTRUCTOR) // ignore normal constructor
16361636
else
16371637
constrNamed(nme.CONSTRUCTOR).orElse(constrNamed(nme.TRAIT_CONSTRUCTOR))
16381638
}

0 commit comments

Comments
 (0)