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 c443150 commit ae95860Copy full SHA for ae95860
src/dotty/tools/dotc/ast/Desugar.scala
@@ -67,7 +67,7 @@ object desugar {
67
val defctx = ctx.outersIterator.dropWhile(_.scope eq ctx.scope).next
68
var local = defctx.denotNamed(tp.name).suchThat(_ is ParamOrAccessor).symbol
69
if (local.exists) (defctx.owner.thisType select local).dealias
70
- else throw new Error(s"no matching symbol for ${sym.showLocated} in ${defctx.owner} / ${defctx.effectiveScope}")
+ else throw new Error(s"no matching symbol for ${tp.symbol.showLocated} in ${defctx.owner} / ${defctx.effectiveScope}")
71
case _ =>
72
mapOver(tp)
73
}
0 commit comments