-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add removeprefix/removesuffix to Starlark strings #14824
Conversation
This is ready for review now that bazelbuild/starlark@d6a52c5 has landed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, though you'll need @brandjon to merge it upstream.
@adonovan I added a failure test and a test for no modifications for each method now that this behavior is also documented in the spec. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
(I've started the import process, but it's waiting for approval inside Google)
Implements bazelbuild/starlark#185 in Java Starlark. Closes bazelbuild#14824. PiperOrigin-RevId: 430556229
Implements bazelbuild/starlark#185 in Java Starlark. Closes #14824. PiperOrigin-RevId: 430556229
Implements bazelbuild/starlark#185 in Java Starlark.