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

Correctly update the list of generators for a call to WithAnalyzerReferences #58990

Conversation

jasonmalinowski
Copy link
Member

@jasonmalinowski jasonmalinowski commented Jan 21, 2022

When we add or remove generator references, we take the previous GeneratorDriver and incrementally update it, adding or removing the new generators. If you called WithAnalyzerReferences, however, we completely failed to do this, so you'd be running with the incorrect list of generators.

Fixes AB#1459138
Fixes AB#1427738

Probably also fixes a bunch of other stuff too! Exact list TBD, but now that we know what we're looking for I'll update tomorrow.

This is ran before we add the document, the generator had already been
added.
…erences

When we add or remove generator references, we take the previous
GeneratorDriver and incrementally update it, adding or removing the
new generators. If you called WithAnalyzerReferences, however, we
completely failed to do this, so you'd be running with the incorrect
list of generators.
@jasonmalinowski jasonmalinowski force-pushed the update-generators-during-withanalyzerreferences branch from d6e34d4 to f1bc37e Compare January 21, 2022 02:21
@sharwell
Copy link
Member

Does this fix #58916?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants