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 17a6080 commit 96a6de2Copy full SHA for 96a6de2
compiler/src/dotty/tools/dotc/core/Denotations.scala
@@ -301,8 +301,9 @@ object Denotations {
301
case NoDenotation | _: NoQualifyingRef | _: MissingRef =>
302
def argStr = if (args.isEmpty) "" else i" matching ($args%, %)"
303
val msg =
304
- if (site.exists) i"$site does not have a member $kind $name$argStr"
+ if (site.exists) i"$site (decls=${site.info.decls.toList}) does not have a member $kind $name$argStr"
305
else i"missing: $kind $name$argStr"
306
+ Thread.dumpStack
307
throw new TypeError(msg)
308
case denot =>
309
denot.symbol
0 commit comments