Repository navigation
Commit 6720139
committed
fix(platform-declarations-ios): Change 2^64-1 enum values to -1
`18446744073709551615` (`0xFFFFFFFFFFFFFFFF`) is an overflow to the JS
numerical system and therefore incorrect. Integer values from `-(2^53-1)` to `(2^53-1)`
only can be safely represented in JS (`Number.MIN_SAFE_INTEGER` to
`Number.MAX_SAFE_INTEGER`)
There's a fix in iOS Runtime's metadata generator which now automatically
converts such values to signed. (NativeScript/ios-jsc#1151)
refs NativeScript/ios-jsc#11501 parent 1c22a73 commit 6720139
5 files changed
Lines changed: 9 additions & 9 deletions
File tree
- tns-platform-declarations/ios/objc-x86_64
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
743 | 743 | | |
744 | 744 | | |
745 | 745 | | |
746 | | - | |
| 746 | + | |
747 | 747 | | |
748 | 748 | | |
749 | 749 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
| 378 | + | |
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2939 | 2939 | | |
2940 | 2940 | | |
2941 | 2941 | | |
2942 | | - | |
| 2942 | + | |
2943 | 2943 | | |
2944 | 2944 | | |
2945 | 2945 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4354 | 4354 | | |
4355 | 4355 | | |
4356 | 4356 | | |
4357 | | - | |
| 4357 | + | |
4358 | 4358 | | |
4359 | 4359 | | |
4360 | 4360 | | |
| |||
4831 | 4831 | | |
4832 | 4832 | | |
4833 | 4833 | | |
4834 | | - | |
| 4834 | + | |
4835 | 4835 | | |
4836 | 4836 | | |
4837 | 4837 | | |
| |||
9348 | 9348 | | |
9349 | 9349 | | |
9350 | 9350 | | |
9351 | | - | |
| 9351 | + | |
9352 | 9352 | | |
9353 | 9353 | | |
9354 | 9354 | | |
| |||
10286 | 10286 | | |
10287 | 10287 | | |
10288 | 10288 | | |
10289 | | - | |
| 10289 | + | |
10290 | 10290 | | |
10291 | 10291 | | |
10292 | 10292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments