Skip to content

Commit 23ea2fd

Browse files
committed
Also show constraint on SO
1 parent 24d3219 commit 23ea2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ object Inferencing {
195195
case tp =>
196196
foldOver(x, tp)
197197
catch case ex: Throwable =>
198-
handleRecursive("traverse ", s"${tp.show}" , ex)
198+
handleRecursive("traverse ", s"${tp.show} in ${ctx.typerState.constraint.show}" , ex)
199199

200200

201201
def process(tp: Type): Boolean =

0 commit comments

Comments
 (0)