enapps-enorman opened a new pull request #8:
URL:
https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler/pull/8
An expression that attempts to compare an enum to another enum throws a
SightlyCompilerException exception with a message stating that the operands are
not of same type.
Expected:
Comparing two enum objects should work without throwing any exception.
For example:
enum equals enum = ${myEnum.ONE == myEnum.ONE}
enum notEquals enum = ${myEnum.ONE != myEnum.TWO}
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]