Skip to content

Commit 5f73f6b

Browse files
committed
Remove unused function
Was tried in a previous version of the fix, now unused.
1 parent cf37bf5 commit 5f73f6b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -238,12 +238,6 @@ object ProtoTypes {
238238
typer.adapt(targ, formal, arg)
239239
}
240240

241-
/** Retype argument, removing any previously cached entries */
242-
def retypeArg(arg: untpd.Tree, formal: Type)(implicit ctx: Context): Tree = {
243-
myTypedArg = myTypedArg.remove(arg)
244-
typedArg(arg, formal)
245-
}
246-
247241
/** The type of the argument `arg`.
248242
* @pre `arg` has been typed before
249243
*/

0 commit comments

Comments
 (0)