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 01fc3e6 commit 390691eCopy full SHA for 390691e
compiler/src/dotty/tools/dotc/transform/init/Semantic.scala
@@ -372,7 +372,7 @@ class Semantic {
372
buffer.nonEmpty || methods.exists { denot =>
373
val m = denot.symbol
374
if !m.isConstructor && m.hasSource then
375
- val res = warm.call(m, superType = m.owner.typeRef, source = source)
+ val res = warm.call(m, superType = NoType, source = source)
376
buffer ++= res.ensureHot(msg, source).errors
377
buffer.nonEmpty
378
}
0 commit comments