Skip to content

Commit ba801d5

Browse files
committed
Remove unused definition
1 parent 1d80e66 commit ba801d5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ trait Applications extends Compatibility { self: Typer with Dynamic =>
216216
case methType: MethodType =>
217217
// apply the result type constraint, unless method type is dependent
218218
val resultApprox = resultTypeApprox(methType)
219-
val savedConstraint = ctx.typerState.constraint
220219
if (!constrainResult(resultApprox, resultType))
221220
if (ctx.typerState.isCommittable)
222221
// defer the problem until after the application;

0 commit comments

Comments
 (0)