camunda / feel-scala

FEEL parser and interpreter written in Scala
https://camunda.github.io/feel-scala/
Apache License 2.0
120 stars 49 forks source link

Multi-line strings not covered by spec #715

Open nikku opened 10 months ago

nikku commented 10 months ago

Describe the bug

We support evaluating multi-line strings:

= "ABC
DEF"

This, however this is not covered by the DMN spec (\u000A is the line feed character):

image

image

To Reproduce

Execute above FEEL expression, see engine return ABC\nDEF.

Expected behavior

Syntax error (invalid FEEL syntax).

Environment


Downstream bug report in Camunda Modeler (FEEL engine and syntax highlighter not in sync) - https://github.com/camunda/camunda-modeler/issues/3859.