File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1070,7 +1070,7 @@ class Typer extends Namer
10701070 * every parameter in `params`.
10711071 */
10721072 lazy val calleeType : Type = untpd.stripAnnotated(fnBody) match {
1073- case ident : Ident if isContextual =>
1073+ case ident : untpd. Ident if isContextual =>
10741074 val tp = typedIdent(ident, WildcardType ).tpe.widen
10751075 if defn.isContextFunctionType(tp) && params.size == defn.functionArity(tp)
10761076 then
@@ -2471,7 +2471,7 @@ class Typer extends Namer
24712471 val defn .FunctionOf (formals, _, true , _) = pt.dropDependentRefinement
24722472 val ifun = desugar.makeContextualFunction(formals.map(_ => untpd.TypeTree ()), tree, defn.isErasedFunctionType(pt))
24732473 typr.println(i " make contextual function $tree / $pt ---> $ifun" )
2474- typedFunctionValue (ifun, pt)
2474+ typed (ifun, pt)
24752475 }
24762476
24772477 /** Typecheck and adapt tree, returning a typed tree. Parameters as for `typedUnadapted` */
You can’t perform that action at this time.
0 commit comments