Skip to content
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

fix(clion): Fix deserialization of BlazeCompilerInfoMap #5420

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

blorente
Copy link
Collaborator

@blorente blorente commented Oct 3, 2023

Checklist

  • I have filed an issue about this change and discussed potential changes with the maintainers.
  • I have received the approval from the maintainers to make this change.
  • This is not a stylistic, refactoring, or cleanup change.

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.

Description of this change

JetBrains' deserialization logic calls Map.clear(), and ImmutableMap doesn't support this.

In practice, this resulted in a silent error and the state not being loaded properly until we synced.

JetBrains' deserialization logic calls `Map.clear()`, and `ImmutableMap`
doesn't support this.

In practice, this resulted in a silent error and the state not being
loaded properly.
@github-actions github-actions bot added product: CLion CLion plugin awaiting-review Awaiting review from Bazel team on PRs labels Oct 3, 2023
Copy link
Collaborator

@tpasternak tpasternak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect! Thank you @blorente

@tpasternak tpasternak merged commit 4e4dd6f into bazelbuild:master Oct 4, 2023
8 checks passed
@github-actions github-actions bot removed the awaiting-review Awaiting review from Bazel team on PRs label Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: CLion CLion plugin
Projects
Development

Successfully merging this pull request may close these issues.

2 participants