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.
Three places in Jsonata use incorrect comparison:
jsonata-java/src/main/java/com/dashjoin/jsonata/Jsonata.java
Line 1593 in 10c3f2c
jsonata-java/src/main/java/com/dashjoin/jsonata/Jsonata.java
Line 1632 in 10c3f2c
jsonata-java/src/main/java/com/dashjoin/jsonata/Jsonata.java
Line 1679 in 10c3f2c
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.