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

Move PanaCache out of ToolEnvironment (also from public API), adding in InspectOptions #1384

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

isoos
Copy link
Collaborator

@isoos isoos commented Jul 2, 2024

  • Removing the panaCache field from ToolEnvironment is breaking change, but I don't expect anybody using it, esp. because (a) it was not documented and (b) the PanaCache class is not exposed in the API.
  • InspectOptions is a better place for specifying its value (if there is any shared cache between analysis sessions).

Note: SharedAnalysisContext is not a public API, we may use it there without any issues.

@isoos isoos requested review from jonasfj and sigurdm July 2, 2024 14:34
@isoos isoos merged commit 0498b23 into dart-lang:master Jul 5, 2024
5 checks passed
@isoos isoos deleted the pana-cache branch July 5, 2024 12:25
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