Skip to content

Commit 1358e97

Browse files
committed
SymDenotations: fix comment.
1 parent 089dfa3 commit 1358e97

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
@@ -594,7 +594,7 @@ object SymDenotations {
594594
final def isPrimaryConstructor(implicit ctx: Context) =
595595
isConstructor && owner.primaryConstructor == symbol
596596

597-
/** Does this symbol denote the primary constructor of its enclosing class? */
597+
/** Does this symbol denote the static constructor of its enclosing class? */
598598
final def isStaticConstructor(implicit ctx: Context) =
599599
name.isStaticConstructorName
600600

0 commit comments

Comments
 (0)