Skip to content

Conversation

@andrew-coleman
Copy link
Member

The logic for handling the second parameter to this function should be the same as for handling the input to any expression.
This includes wrapping a top level array input in a singleton sequence so it gets treated as a single input.
This code was missing from this function and is added here.

resolves #463

Signed-off-by: andrew-coleman andrew_coleman@uk.ibm.com

The logic for handling the second parameter to this function should be the same as for handling the input to any expression.
This includes wrapping a top level array input in a singleton sequence so it gets treated as a single input.
This code was missing from this function and is added here.

Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 00f3ebe on eval_fix into 27724d9 on master.

@mattbaileyuk mattbaileyuk merged commit ca3070f into master Oct 23, 2020
@mattbaileyuk mattbaileyuk deleted the eval_fix branch October 23, 2020 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

$eval returns empty object if the context value is an empty array

4 participants