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 87399f3 commit fc42734Copy full SHA for fc42734
src/dotty/tools/dotc/core/Denotations.scala
@@ -213,7 +213,10 @@ object Denotations {
213
val meth = info.member(name.toTermName)
214
if (meth.exists) meth.requiredSymbol(_ is Method).asTerm
215
else { // Heisenbughunt
216
- println(s"*** missing method: ${name.toString} in $this")
+ println(s"*** missing method: ${name.toTermName} in $this")
217
+ val lookedUp = info.decls.lookup(name.toTermName)
218
+ println(s"looked up: $lookedUp")
219
+ if (lookedUp.exists) return lookedUp.asTerm
220
info.decls.checkConsistent()
221
println(i"decls = ${info.decls}")
222
if (slowSearch(name.toTermName).exists) {
0 commit comments