Skip to content

Commit ec6d7ef

Browse files
committed
Cleanup dead code
1 parent 9c66069 commit ec6d7ef

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

compiler/src/dotty/tools/dotc/typer/Typer.scala

-4
Original file line numberDiff line numberDiff line change
@@ -1720,10 +1720,6 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
17201720
typedFunctionType(desugar.makeFunctionWithValDefs(tree, pt), pt)
17211721
else
17221722
val funSym = defn.FunctionSymbol(numArgs, isContextual, isImpure)
1723-
// val args1 = args.mapConserve {
1724-
// case cb: untpd.ContextBoundTypeTree => typed(cb)
1725-
// case t => t
1726-
// }
17271723
val result = typed(cpy.AppliedTypeTree(tree)(untpd.TypeTree(funSym.typeRef), args :+ body), pt)
17281724
// if there are any erased classes, we need to re-do the typecheck.
17291725
result match

0 commit comments

Comments
 (0)