Skip to content

Commit

Permalink
Update compiler/src/dotty/tools/dotc/core/TypeErrors.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky authored Apr 25, 2024
1 parent 5efacbe commit 46e0d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/core/TypeErrors.scala
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ object CyclicReference:
private def isTraced(using Context) =
ctx.property(CyclicReference.Trace).isDefined

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

Expand Down

0 comments on commit 46e0d9d

Please sign in to comment.