aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Denotations.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-02-28 15:03:45 +0100
committerMartin Odersky <odersky@gmail.com>2013-02-28 15:03:45 +0100
commitfe8ee1143f7aabc57212506b3bdd10d7abb63d67 (patch)
tree915b8a6d3c4cb19134b56285670d9e3dca5ca1b6 /src/dotty/tools/dotc/core/Denotations.scala
parente2d8e2acf76472a2c9b60048be8260e1d73435ac (diff)
downloaddotty-fe8ee1143f7aabc57212506b3bdd10d7abb63d67.tar.gz
dotty-fe8ee1143f7aabc57212506b3bdd10d7abb63d67.tar.bz2
dotty-fe8ee1143f7aabc57212506b3bdd10d7abb63d67.zip
more docs.
Plus renamed NullSignature -> NotAMethod
Diffstat (limited to 'src/dotty/tools/dotc/core/Denotations.scala')
-rw-r--r--src/dotty/tools/dotc/core/Denotations.scala6
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