diff options
author | Martin Odersky <odersky@gmail.com> | 2013-02-18 09:41:11 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-02-18 09:41:11 +0100 |
commit | 2b4a19e80a643dfdf8eea5fa40811f76edb27be3 (patch) | |
tree | 564455c04aba5c2da721a188e85163e5240957c5 /src/dotty/tools/dotc/core/SymDenotations.scala | |
parent | 6bd453e8f3b50e7c48b6969bd4aaf6638b0455f8 (diff) | |
download | dotty-2b4a19e80a643dfdf8eea5fa40811f76edb27be3.tar.gz dotty-2b4a19e80a643dfdf8eea5fa40811f76edb27be3.tar.bz2 dotty-2b4a19e80a643dfdf8eea5fa40811f76edb27be3.zip |
Fleshed out TypeTreeGen.
All base cases now supported. Still missing: Intelligent treatment of positions.
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index a6f4e5001..79f2b7817 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -239,6 +239,9 @@ object SymDenotations { /** Is this the constructor of a trait or a class */ def isConstructor = name.isConstructorName + /** Is this a local template dummmy? */ + def isLocalDummy: Boolean = name.isLocalDummyName + /** Does this symbol denote the primary constructor of its enclosing class? */ final def isPrimaryConstructor(implicit ctx: Context) = isConstructor && owner.primaryConstructor == this |