When MAP literal expression is used in LHS like the following
when $fact: Fact( calc(["src":name, "target":"TEST"]) ) ...
KieBase build as Executable Model fails with parser error like:
org.drools.javaparser.ParseProblemException: Encountered unexpected token: "[" "[" at line 1, column 6. Was expecting one of: ")"
This error does not happen when building this rule as normal kjar.
- clones
-
RHDM-897 Parser error with executable-model on Map literal expression in constraint
- Closed