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 65186e0 commit a16f640Copy full SHA for a16f640
library/src/scala/tasty/reflect/Printers.scala
@@ -834,7 +834,7 @@ trait Printers
834
case Apply(fn, args) =>
835
fn match {
836
case Select(This(_), "<init>") => this += "this" // call to constructor inside a constructor
837
- case Select(qual, "apply") if qual.tpe.classSymbol.exists(_.name.startsWith("ImplicitFunction")) =>
+ case Select(qual, "apply") if qual.tpe.isImplicitFunctionType =>
838
printTree(qual) += " given "
839
case _ => printQualTree(fn)
840
}
0 commit comments