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 089dfa3 commit 1358e97Copy full SHA for 1358e97
src/dotty/tools/dotc/core/SymDenotations.scala
@@ -594,7 +594,7 @@ object SymDenotations {
594
final def isPrimaryConstructor(implicit ctx: Context) =
595
isConstructor && owner.primaryConstructor == symbol
596
597
- /** Does this symbol denote the primary constructor of its enclosing class? */
+ /** Does this symbol denote the static constructor of its enclosing class? */
598
final def isStaticConstructor(implicit ctx: Context) =
599
name.isStaticConstructorName
600
0 commit comments