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

Properly generate code for parameter default value Strings. #757

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Jun 20, 2024

Properly generate code for parameter default value Strings.

Fixes #756

In order to properly allow single quotes and dollar signs in parameter default values, we must not print as raw, and we must escape dollar signs ourselves, before passing to code_builder.

Fixes #756

In order to properly allow single quotes and dollar signs in parameter default values, we must not print as raw, and we must escape dollar signs ourselves, before passing to code_builder.

PiperOrigin-RevId: 646140324
@copybara-service copybara-service bot merged commit e99ba54 into master Jun 24, 2024
@copybara-service copybara-service bot deleted the test_645105722 branch June 24, 2024 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot generate mocks for class with method with parameter with default value with a single quote
1 participant