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

BugFix for issue 13482 #13504

Closed
wants to merge 3 commits into from
Closed

Conversation

nickwinger
Copy link

@nickwinger nickwinger requested a review from a team as a code owner August 10, 2023 13:55
@nickwinger nickwinger requested review from jtattermusch and removed request for a team August 10, 2023 13:55
@google-cla
Copy link

google-cla bot commented Aug 10, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@nickwinger
Copy link
Author

@jskeet , @tonydnewell here is the PR for the Bug

@@ -184,6 +184,15 @@ std::string UnderscoresToCamelCase(absl::string_view input,
} else if ('0' <= input[i] && input[i] <= '9') {
result += input[i];
cap_next_letter = true;
// https://github.com/protocolbuffers/protobuf/issues/13482
// Preserve underscores before numbers if the come right after a dot
} else if (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drive-by comment - I haven't analysed this fully - what would this do with "my.scope.__3"? I suspect we'd still end up with "my.scope.3", which presumably isn't intended.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes you are right, there is room for improvement, however my fix doesn't break anything and it still is an improvement. double underscore handling should be another PR as it makes things even more complicated. however most of the time when people only use one underscore it is an improvement

Copy link

We triage inactive PRs and issues in order to make it easier to find active work. If this PR should remain active, please add a comment.

This PR is labeled inactive because the last activity was over 90 days ago. This PR will be closed and archived after 14 additional days without activity.

@github-actions github-actions bot added the inactive Denotes the issue/PR has not seen activity in the last 90 days. label Nov 14, 2023
Copy link

We triage inactive PRs and issues in order to make it easier to find active work. If this PR should remain active or becomes active again, please reopen it.

This PR was closed and archived because there has been no new activity in the 14 days since the inactive label was added.

@github-actions github-actions bot closed this Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive Denotes the issue/PR has not seen activity in the last 90 days.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants