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