Merge pull request #4237 from snprajwal/str-withcapacity

builtin(str): implement Str.withCapacity
This commit is contained in:
Ayaz 2022-10-08 14:31:30 -05:00 committed by GitHub
commit 9d05bcd9d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 59 additions and 2 deletions

View file

@ -1296,6 +1296,7 @@ define_builtins! {
50 STR_REPLACE_EACH: "replaceEach"
51 STR_REPLACE_FIRST: "replaceFirst"
52 STR_REPLACE_LAST: "replaceLast"
53 STR_WITH_CAPACITY: "withCapacity"
}
6 LIST: "List" => {
0 LIST_LIST: "List" exposed_apply_type=true // the List.List type alias