diff options
author | Martin Odersky <odersky@gmail.com> | 2016-07-07 16:15:03 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-07-11 13:35:08 +0200 |
commit | c541ef911b963a3d49613aecf76abc8f0fa00b67 (patch) | |
tree | 5438069722ca2b2621443114573800b6da043e19 /src/dotty/tools/dotc/core/SymDenotations.scala | |
parent | 2ddb84947324ced70b26f536bd73d6092e62f0a2 (diff) | |
download | dotty-c541ef911b963a3d49613aecf76abc8f0fa00b67.tar.gz dotty-c541ef911b963a3d49613aecf76abc8f0fa00b67.tar.bz2 dotty-c541ef911b963a3d49613aecf76abc8f0fa00b67.zip |
Do the right thing for NoDenotation.mapInfo
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index e3cbf6669..3a1c589a9 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -1824,6 +1824,7 @@ object SymDenotations { override def isType = false override def owner: Symbol = throw new AssertionError("NoDenotation.owner") override def computeAsSeenFrom(pre: Type)(implicit ctx: Context): SingleDenotation = this + override def mapInfo(f: Type => Type)(implicit ctx: Context): SingleDenotation = this validFor = Period.allInRun(NoRunId) // will be brought forward automatically } |