Skip to content

Commit 1d80e66

Browse files
committed
Fix typo
1 parent 291492f commit 1d80e66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ trait Applications extends Compatibility { self: Typer with Dynamic =>
217217
// apply the result type constraint, unless method type is dependent
218218
val resultApprox = resultTypeApprox(methType)
219219
val savedConstraint = ctx.typerState.constraint
220-
if (!constrainResult(resultApprox, resultType)
220+
if (!constrainResult(resultApprox, resultType))
221221
if (ctx.typerState.isCommittable)
222222
// defer the problem until after the application;
223223
// it might be healed by an implicit conversion

0 commit comments

Comments
 (0)