Skip to content

Commit 544aad4

Browse files
committed
More twists to uncover missing method Heisenbug
1 parent 0f92534 commit 544aad4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ object Denotations {
215215
if (meth.exists) meth.requiredSymbol(_ is Method).asTerm
216216
else { // Heisenbughunt
217217
println(s"*** missing method: $name in $this")
218-
val own = info.decl(name)
218+
val own = info.decls.lookup(name)
219219
if (own.exists) {
220-
println(i"decl succeeded: $own")
220+
println(i"decl succeeded: $own / ${info.decl(name)}")
221221
return own.requiredSymbol(_ is Method).asTerm
222222
}
223223
info.decls.checkConsistent()

0 commit comments

Comments
 (0)