-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stdlib] cleanup: Remove redundant operator overloads for
String/StringLiteral args The functionality of each of the removed methods is fulfilled by the remaining `StringSlice`-taking methods. For example, we don't need all three of: String.__iadd__(StringLiteral) String.__iadd__(String) String.__iadd__(StringSlice) StringLiteral and String can both implicitly coerce to StringSlice, so any callers currently calling one of those two overloads will gracefully fallback to simply calling the StringSlice-taking overload. MODULAR_ORIG_COMMIT_REV_ID: 24e87313c0d5a0df8764d98cb8828d32c0ee1a6a
- Loading branch information
1 parent
bf6db3f
commit 4de698b
Showing
3 changed files
with
3 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters