Skip to content

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Jan 27, 2026

fix: DSLX C++ transpiler must unique-ify generated temp variable names to not collide with DSLX struct member field names. This applies to struct generators and tuple/array emitters whose temporary variable names were not only colliding with user-generated fields but also the temporary variable names in nested scopes of the generated code for functions like ToValue and FromValue.

@copybara-service copybara-service bot changed the title fix: DSLX C++ transpiler must unique-ify generated temp variable names to not collide with DSLX struct member field names fix: DSLX C++ transpiler must unique-ify generated temp variable names to not collide with DSLX struct member field names. This applies to struct generators and tuple/array emitters whose temporary variable names were not only colliding with user-generated fields but also the temporary variable names in nested scopes of the generated code for functions like ToValue and FromValue. Jan 28, 2026
…s to not collide with DSLX struct member field names. This applies to struct generators and tuple/array emitters whose temporary variable names were not only colliding with user-generated fields but also the temporary variable names in nested scopes of the generated code for functions like ToValue and FromValue.

PiperOrigin-RevId: 862334059
@copybara-service copybara-service bot merged commit 932d7d0 into main Jan 28, 2026
@copybara-service copybara-service bot deleted the test_861393002 branch January 28, 2026 19:59
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.

1 participant