Skip to content

Commit 34f4c49

Browse files
committed
Do the right thing for NoDenotation.mapInfo
1 parent 9404434 commit 34f4c49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dotty/tools/dotc/core/SymDenotations.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,6 +1824,7 @@ object SymDenotations {
18241824
override def isType = false
18251825
override def owner: Symbol = throw new AssertionError("NoDenotation.owner")
18261826
override def computeAsSeenFrom(pre: Type)(implicit ctx: Context): SingleDenotation = this
1827+
override def mapInfo(f: Type => Type)(implicit ctx: Context): SingleDenotation = this
18271828
validFor = Period.allInRun(NoRunId) // will be brought forward automatically
18281829
}
18291830

0 commit comments

Comments
 (0)