From 72d4d35fdd256578c90c637347978a23f509e01c Mon Sep 17 00:00:00 2001 From: Kacper Korban Date: Fri, 18 Oct 2024 10:10:06 +0200 Subject: [PATCH] Cleanup dead code --- compiler/src/dotty/tools/dotc/typer/Typer.scala | 4 ---- 1 file changed, 4 deletions(-) diff --git a/compiler/src/dotty/tools/dotc/typer/Typer.scala b/compiler/src/dotty/tools/dotc/typer/Typer.scala index 90181c885c7d..755774f6755e 100644 --- a/compiler/src/dotty/tools/dotc/typer/Typer.scala +++ b/compiler/src/dotty/tools/dotc/typer/Typer.scala @@ -1717,10 +1717,6 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer typedFunctionType(desugar.makeFunctionWithValDefs(tree, pt), pt) else val funSym = defn.FunctionSymbol(numArgs, isContextual, isImpure) - // val args1 = args.mapConserve { - // case cb: untpd.ContextBoundTypeTree => typed(cb) - // case t => t - // } val result = typed(cpy.AppliedTypeTree(tree)(untpd.TypeTree(funSym.typeRef), args :+ body), pt) // if there are any erased classes, we need to re-do the typecheck. result match