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 f9da2cd commit 06725ceCopy full SHA for 06725ce
compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala
@@ -384,11 +384,10 @@ class TreePickler(pickler: TastyPickler) {
384
case _ =>
385
val sig = tree.tpe.signature
386
val isAmbiguous =
387
- qual.tpe.nonPrivateMember(name).atSignature(sig) match
+ sig != NotAMethod && qual.tpe.nonPrivateMember(name).match
388
case d: MultiDenotation => d.atSignature(sig).isInstanceOf[MultiDenotation]
389
case _ => false
390
if isAmbiguous then
391
- assert(tree.symbol.isTerm)
392
writeByte(SELECTin)
393
withLength {
394
pickleNameAndSig(name, tree.symbol.signature)
0 commit comments