Skip to content

Commit 96a6de2

Browse files
committed
debug
1 parent 17a6080 commit 96a6de2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/src/dotty/tools/dotc/core/Denotations.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,9 @@ object Denotations {
301301
case NoDenotation | _: NoQualifyingRef | _: MissingRef =>
302302
def argStr = if (args.isEmpty) "" else i" matching ($args%, %)"
303303
val msg =
304-
if (site.exists) i"$site does not have a member $kind $name$argStr"
304+
if (site.exists) i"$site (decls=${site.info.decls.toList}) does not have a member $kind $name$argStr"
305305
else i"missing: $kind $name$argStr"
306+
Thread.dumpStack
306307
throw new TypeError(msg)
307308
case denot =>
308309
denot.symbol

0 commit comments

Comments
 (0)