Hiroko Miura created DROOLS-3801:
------------------------------------
             Summary: Parser error with executable-model on Map literal expression in
costraint
                 Key: DROOLS-3801
                 URL: 
https://issues.jboss.org/browse/DROOLS-3801
             Project: Drools
          Issue Type: Bug
          Components: executable model
    Affects Versions: 7.18.0.Final
         Environment: 7.18.0.Final
7.18.0.Final-redhat-00002 (RHDM7.3.0)
7.14.0.Final-redhat-00004 (RHDM7.1.2)
            Reporter: Hiroko Miura
            Assignee: Luca Molteni
         Attachments: MapLiteralTest.zip
When MAP literal expression is used in LHS like the following
{noformat}
  when
    $fact: Fact(
      calc(["src":name, "target":"TEST"])
    )
 ...
{noformat}
KieBase build as Executable Model fails with parser error like:
{noformat}
org.drools.javaparser.ParseProblemException: 
Encountered unexpected token: "[" "["
    at line 1, column 6.
Was expecting one of:
    ")"
{noformat}
This error does not happen when building this rule as normal kjar.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)