Skip to content

Commit 2d51401

Browse files
oderskyWojciechMazur
authored andcommitted
Update compiler/src/dotty/tools/dotc/core/TypeErrors.scala
[Cherry-picked 46e0d9d]
1 parent 72954eb commit 2d51401

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/TypeErrors.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ object CyclicReference:
205205
private def isTraced(using Context) =
206206
ctx.property(CyclicReference.Trace).isDefined
207207

208-
private def pushTrace(info: Context ?=> String)(using Context): Unit =
208+
private def pushTrace(info: TraceElement)(using Context): Unit =
209209
for buf <- ctx.property(CyclicReference.Trace) do
210210
buf += info
211211

0 commit comments

Comments
 (0)