Three places in Jsonata use incorrect comparison:
|
if (proc == null && (expr).procedure.type == "path" && environment.lookup((String)expr.procedure.steps.get(0).value)!=null) { |
|
var procName = expr.procedure.type == "path" ? expr.procedure.steps.get(0).value : expr.procedure.value; |
|
if(((Symbol)result).body.procedure.type == "variable") { |
We should examine why this did not cause problems in the current set of unit tests. This probably a relic of the initial JS port. Thanks to @sergeevik for pointing this out.