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 removal of scalars, and ignoring modifier variables #452

Conversation

douglasjacobsen
Copy link
Collaborator

This merge fixes two issues with removal of unused variables, primarily related to removing variables that modifiers might use.

The first fix updates the removal code to only remove list variables (as they are problematic for rendering experiments).

The second fix propagates variables defined in a modifier (using the modifier_variable directive) as used variables even if they are not used in an expansion to ensure they are not removed accidentally.

This commit fixes two issues with removal of unused variables, primarily
related to removing variables that modifiers might use.

The first fix updates the removal code to only remove list variables (as
they are problematic for rendering experiments).

The second fix propagates variables defined in a modifier (using the
modifier_variable directive) as used variables even if they are not used
in an expansion to ensure they are not removed accidentally.
@douglasjacobsen douglasjacobsen added the bug Something isn't working label Apr 3, 2024
@rfbgo rfbgo merged commit bb664f1 into GoogleCloudPlatform:develop Apr 4, 2024
5 checks passed
@douglasjacobsen douglasjacobsen deleted the fix_variable_removal_modifiers branch April 4, 2024 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants