diff options
Diffstat (limited to 'src/dotty/tools/dotc/core/Denotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Denotations.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dotty/tools/dotc/core/Denotations.scala b/src/dotty/tools/dotc/core/Denotations.scala index 638f6513f..314e19533 100644 --- a/src/dotty/tools/dotc/core/Denotations.scala +++ b/src/dotty/tools/dotc/core/Denotations.scala @@ -88,7 +88,7 @@ object Denotations { /** The signature of a val or parameterless def, as opposed * to List(), which is the signature of a zero-parameter def. */ - val NullSignature = List(Names.EmptyTypeName) + val NotAMethod: Signature = List(Names.EmptyTypeName) /** A denotation is the result of resolving * a name (either simple identifier or select) during a given period. @@ -321,9 +321,9 @@ object Denotations { case _ => List() } case mt: MethodType => mt.signature - case _ => NullSignature + case _ => NotAMethod } - if (isType) NullSignature else sig(info) + if (isType) NotAMethod else sig(info) } def firstSym(implicit ctx: Context): Symbol = symbol |