We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8198f1f commit 4c60393Copy full SHA for 4c60393
compiler/src/dotty/tools/dotc/core/quoted/PickledQuotes.scala
@@ -143,9 +143,7 @@ object PickledQuotes {
143
case tp: ClassInfo =>
144
tp.derivedClassInfo(classParents = tp.classParents.map(apply))
145
case tp: TypeRef =>
146
- typeSpliceMap.get(tp.symbol) match
147
- case Some(t) if tp.typeSymbol.hasAnnotation(defn.InternalQuoted_QuoteTypeTagAnnot) => mapOver(t)
148
- case _ => mapOver(tp)
+ mapOver(typeSpliceMap.getOrElse(tp.symbol, tp))
149
case _ =>
150
mapOver(tp)
151
}
0 commit comments