Skip to content

Commit 63a9142

Browse files
committed
Fix -Yexplain-types
1 parent 86355ea commit 63a9142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ object ErrorReporting {
118118
else if (ctx.settings.explainTypes.value)
119119
i"""
120120
|${ctx.typerState.constraint}
121-
|${TypeComparer.explained((found <:< expected)(_))}"""
121+
|${TypeComparer.explained(found <:< expected)}"""
122122
else
123123
""
124124
}

0 commit comments

Comments
 (0)