Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
mio-19 committed Oct 24, 2024
1 parent 9d83ace commit ee052c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/src/main/scala/chester/syntax/core/Term.scala
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ sealed trait Term extends ToDoc with TermT[Term] with ContainsUniqid derives Rea
}

def inspect(f: Term => Unit): Unit = {
descent2(new SpecialMap {
val _ = descent2(new SpecialMap {
def use[T <: Term](x: T): x.ThisTree = { f(x); x.asInstanceOf[x.ThisTree] }
})
()
Expand Down

0 comments on commit ee052c4

Please sign in to comment.