We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 291492f commit 1d80e66Copy full SHA for 1d80e66
compiler/src/dotty/tools/dotc/typer/Applications.scala
@@ -217,7 +217,7 @@ trait Applications extends Compatibility { self: Typer with Dynamic =>
217
// apply the result type constraint, unless method type is dependent
218
val resultApprox = resultTypeApprox(methType)
219
val savedConstraint = ctx.typerState.constraint
220
- if (!constrainResult(resultApprox, resultType)
+ if (!constrainResult(resultApprox, resultType))
221
if (ctx.typerState.isCommittable)
222
// defer the problem until after the application;
223
// it might be healed by an implicit conversion
0 commit comments