[
https://jira.jboss.org/jira/browse/JBRULES-1759?page=com.atlassian.jira.p...
]
Mark Proctor commented on JBRULES-1759:
---------------------------------------
MVEL does not yet support the "new" constructor for arrays, it instead uses an
inline syntax:
s = {{"2008-04-01", "2008-04-10"}}
I know the MVEL author plans to support this soon though.
Exception when compiling a rule with "dialect mvel"
---------------------------------------------------
Key: JBRULES-1759
URL:
https://jira.jboss.org/jira/browse/JBRULES-1759
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Drl Parser/Builder
Affects Versions: 5.0.0.M1
Reporter: Ming Jin
Assignee: Mark Proctor
Attachments: testdrools.zip
The following expression would compile without any problem with "dialect
java":
new String[][]{{"2008-04-01", "2008-04-10"}}
But would generate a compiler error - "Unable to build expression...." with
"dialect mvel".
Will upload an sample code to demonstrate this bug.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira