diff options
author | Martin Odersky <odersky@gmail.com> | 2014-02-09 18:49:31 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-02-09 18:49:31 +0100 |
commit | ada0febcb0893ff8f87d01f605a43f731e38a0be (patch) | |
tree | f43c1efa0b743f3e374600d15a7d19a0c74968ed /src/dotty/tools/dotc/core | |
parent | 866ee8665147f91bee617465d04a08ff7b874baf (diff) | |
download | dotty-ada0febcb0893ff8f87d01f605a43f731e38a0be.tar.gz dotty-ada0febcb0893ff8f87d01f605a43f731e38a0be.tar.bz2 dotty-ada0febcb0893ff8f87d01f605a43f731e38a0be.zip |
Get rid of CompleteInCreationContext
The only remaining completers that complete in creation context are the source completers defined in Namers. So a separate abstraction is no longer needed.
Diffstat (limited to 'src/dotty/tools/dotc/core')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index 2214fe562..d9fa15a5f 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -1226,12 +1226,6 @@ object SymDenotations { def withModuleClass(moduleClass: => Symbol): this.type = { myModuleClassFn = () => moduleClass; this } } - trait CompleteInCreationContext extends LazyType { - def completeInCreationContext(denot: SymDenotation): Unit - final override def complete(denot: SymDenotation)(implicit ctx: Context) = - completeInCreationContext(denot) - } - val NoSymbolFn = () => NoSymbol /** A missing completer */ |