Skip to content

Conversation

liucijus
Copy link
Collaborator

Unfortunately I can't quickly figure out how to create a public repro for this one (any help would be appreciated). During the last few years I faced this issue 4 times, where scalac worker got into the infinite loop.

I've added explicit tracking of cycles using mutable.Set[Tree] of visited tree notes, which seems to be fixing the infinite loop problem.

@liucijus liucijus requested a review from simuons as a code owner October 17, 2023 10:22
@liucijus liucijus merged commit 421a9e8 into bazel-contrib:master Oct 17, 2023
@liucijus liucijus deleted the fix-ast-cycle-handling branch October 17, 2023 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants