File tree 1 file changed +4
-7
lines changed
compiler/src/dotty/tools/dotc/core
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -295,13 +295,10 @@ object Denotations {
295
295
(p : Symbol => Boolean )
296
296
(using Context ): Symbol =
297
297
disambiguate(p) match {
298
- case m @ MissingRef (ownerd, name) =>
299
- if (generateStubs) {
300
- if (ctx.settings.YdebugMissingRefs .value) m.ex.printStackTrace()
301
- newStubSymbol(ownerd.symbol, name, source)
302
- }
303
- else NoSymbol
304
- case NoDenotation | _ : NoQualifyingRef =>
298
+ case m @ MissingRef (ownerd, name) if generateStubs =>
299
+ if ctx.settings.YdebugMissingRefs .value then m.ex.printStackTrace()
300
+ newStubSymbol(ownerd.symbol, name, source)
301
+ case NoDenotation | _ : NoQualifyingRef | _ : MissingRef =>
305
302
def argStr = if (args.isEmpty) " " else i " matching ( $args%, %) "
306
303
val msg =
307
304
if (site.exists) i " $site does not have a member $kind $name$argStr"
You can’t perform that action at this time.
0 commit comments