Skip to content

Bug in parallel exitWith branch if a branch return undefined #37

Description

@cl4cnam

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions