Skip to content

fix #9052: throw CyclicReference if LazyRef is already set #9120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2020

Conversation

bishabosha
Copy link
Member

fix #9052

The other alternative would be to not call update if LazyRef is already computed, which would be inconsistent with what happens when you compile tests/neg/i9052/A.scala and tests/neg/i9052/B.scala in reverse alphabetical order

@odersky odersky merged commit c183e1f into scala:master Jun 8, 2020
@odersky odersky deleted the fix-#9052 branch June 8, 2020 09:52
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.

call to update on already computed LazyRef
2 participants