cl4cnam / cl4cnam/funcSug

Bug in parallel exitWith branch if a branch return undefined

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
16
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The bug appears when the branch returning undefined finished first.
For example:
```
parallel exitWith branch 1 ||
awaitClickBeep('body')
||
js ():
return
```
gives the error message:
```
multiple value for cancellor variable --IN-- "... {foreach @all __par
.var result
:set result $__par
{if [.get __par_N = 0]
[ num set $result ]
else
:set retValMul $result
{if [.get __par_N = $num]
:breakReturn all $retValMul
}
}
}
```
which is not informative.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.