Commit 4609e0e
committed
fix(capacitor-ios): use typed locals in rejectCall for SPM binary compat
Bare nil literals have no contextual type in SPM precompiled context.
Use typed local variables so the compiler can resolve the
CAPPluginCallError initializer and errorHandler call.1 parent 1502970 commit 4609e0e
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
| 380 | + | |
| 381 | + | |
381 | 382 | | |
382 | | - | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
383 | 388 | | |
384 | 389 | | |
385 | 390 | | |
| |||
0 commit comments