We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c66069 commit ec6d7efCopy full SHA for ec6d7ef
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -1720,10 +1720,6 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
1720
typedFunctionType(desugar.makeFunctionWithValDefs(tree, pt), pt)
1721
else
1722
val funSym = defn.FunctionSymbol(numArgs, isContextual, isImpure)
1723
- // val args1 = args.mapConserve {
1724
- // case cb: untpd.ContextBoundTypeTree => typed(cb)
1725
- // case t => t
1726
- // }
1727
val result = typed(cpy.AppliedTypeTree(tree)(untpd.TypeTree(funSym.typeRef), args :+ body), pt)
1728
// if there are any erased classes, we need to re-do the typecheck.
1729
result match
0 commit comments