Skip to content

Commit

Permalink
Merge Mark's fix
Browse files Browse the repository at this point in the history
  • Loading branch information
waterlens committed Aug 3, 2024
1 parent 3fb98cc commit ab3623b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@ class TailRecOpt(fnUid: FreshInt, classUid: FreshInt, tag: FreshInt, raise: Diag
if containingCtors.contains(assignee) then invalidateAndCont(body)
else searchOptCalls(body)
case LetMethodCall(names, cls, method, args, body) =>
// TODO
???
// method call is unresolved, just ignore it
searchOptCalls(body)(acc, src, scc, start, calledDefn, letCallNode, letCtorNode, containingCtors -- names.toSet)
case x @ LetCall(names, defn, args, isTailRec, body) =>
val callInScc = scc.contains(defn.expectDefn)

Expand Down

0 comments on commit ab3623b

Please sign in to comment.