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 1dc4894 commit 5829c18Copy full SHA for 5829c18
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -2720,7 +2720,7 @@ class Typer extends Namer
2720
2721
val ifun = desugar.makeContextualFunction(paramTypes, tree, defn.isErasedFunctionType(pt))
2722
typr.println(i"make contextual function $tree / $pt ---> $ifun")
2723
- typed(ifun, pt)
+ typedFunctionValue(ifun, pt)
2724
}
2725
2726
/** Typecheck and adapt tree, returning a typed tree. Parameters as for `typedUnadapted` */
0 commit comments