diff options
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index 275fb8257..b93585324 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -1650,7 +1650,7 @@ object SymDenotations { } } - object NoDenotation extends SymDenotation( + class NoDenotation extends SymDenotation( NoSymbol, NoSymbol, "<none>".toTermName, Permanent, NoType) { override def exists = false override def isTerm = false @@ -1660,6 +1660,9 @@ object SymDenotations { validFor = Period.allInRun(NoRunId) // will be brought forward automatically } + val NoDenotation = new NoDenotation + val NotDefinedHereDenotation = new NoDenotation + // ---- Completion -------------------------------------------------------- /** Instances of LazyType are carried by uncompleted symbols. |