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 9897592 commit 46a8d13Copy full SHA for 46a8d13
compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala
@@ -695,7 +695,9 @@ class TreePickler(pickler: TastyPickler) {
695
writeNat(idx)
696
pickleType(tree.tpe, richTypes = true)
697
args.foreach { arg =>
698
- if arg.isType then writeByte(EXPLICITtpt)
+ arg.tpe match
699
+ case _: TermRef if arg.isType => writeByte(EXPLICITtpt)
700
+ case _ =>
701
pickleTree(arg)
702
}
703
0 commit comments