Commit cb1aaf2
authored
The lack of this conformance makes it impossible to attach `catch` callbacks to `JSPromise` when `Failure: JSError`, as `catch` methods have `Failure: JSValueConstructible` constraints.
1 parent 6e84a70 commit cb1aaf2
2 files changed
Lines changed: 5 additions & 2 deletions
File tree
- IntegrationTests/TestSuites/Sources/PrimaryTests
- Sources/JavaScriptKit/BasicObjects
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
| 490 | + | |
490 | 491 | | |
491 | 492 | | |
492 | 493 | | |
493 | | - | |
| 494 | + | |
494 | 495 | | |
| 496 | + | |
| 497 | + | |
495 | 498 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments