Commit dcd5ed3
committed
Fix scala-js/scala-js#3393: Correctly report VM crashes as failed futures.
The line in this commit was supposed to complete the future with
a failure if either `vmComplete` or `pipeResult` was failed, giving
precedence to `vmComplete`. However that line was bogus, and would
complete with a success if `pipeResult` was a success, even if
`vmComplete` was a failure.
This caused the `TestAdapter` to erroneously interpret a VM failure
as a normal exit without spawning the testing interface bridge.1 parent 5c9a28c commit dcd5ed3
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
188 | 191 | | |
189 | 192 | | |
190 | 193 | | |
| |||
0 commit comments