Commit 3c74c0f
authored
[stdlib] Change the signature of Dictionary’s bulk initializer (swiftlang#23758)
The initializer was originally introduced without proper availability; in swiftlang#23643, we fixed this by applying the `@_alwaysEmitIntoClient` attribute. However, this had the unfortunate side-effect that the symbol disappeared from `libswiftCore.dylib`, which somehow confuses some simulator builds.
Try to figure out what’s happening by replacing the third closure argument with an integer return value. This changes the mangled name of the bulk initializer, which should make it more obvious how/why these builds fail.
rdar://problem/494793861 parent 6fcd874 commit 3c74c0f
File tree
3 files changed
+15
-21
lines changed- stdlib/public
- Darwin/Foundation
- core
- validation-test/stdlib
3 files changed
+15
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
| 296 | + | |
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
82 | | - | |
83 | | - | |
84 | | - | |
| 81 | + | |
| 82 | + | |
85 | 83 | | |
86 | 84 | | |
87 | 85 | | |
| |||
92 | 90 | | |
93 | 91 | | |
94 | 92 | | |
95 | | - | |
96 | 93 | | |
97 | 94 | | |
98 | 95 | | |
99 | 96 | | |
100 | 97 | | |
101 | | - | |
102 | | - | |
103 | | - | |
| 98 | + | |
| 99 | + | |
104 | 100 | | |
105 | 101 | | |
106 | | - | |
107 | | - | |
| 102 | + | |
108 | 103 | | |
109 | | - | |
110 | | - | |
111 | | - | |
| 104 | + | |
| 105 | + | |
112 | 106 | | |
113 | 107 | | |
114 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5700 | 5700 | | |
5701 | 5701 | | |
5702 | 5702 | | |
5703 | | - | |
| 5703 | + | |
5704 | 5704 | | |
5705 | 5705 | | |
5706 | 5706 | | |
5707 | 5707 | | |
5708 | 5708 | | |
5709 | | - | |
5710 | 5709 | | |
| 5710 | + | |
5711 | 5711 | | |
5712 | 5712 | | |
5713 | 5713 | | |
| |||
5727 | 5727 | | |
5728 | 5728 | | |
5729 | 5729 | | |
5730 | | - | |
| 5730 | + | |
5731 | 5731 | | |
5732 | 5732 | | |
5733 | 5733 | | |
5734 | 5734 | | |
5735 | 5735 | | |
5736 | | - | |
5737 | 5736 | | |
| 5737 | + | |
5738 | 5738 | | |
5739 | 5739 | | |
5740 | 5740 | | |
| |||
0 commit comments