You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Xu Pengcheng (Jira)" <ji...@apache.org> on 2023/11/17 15:51:00 UTC

[jira] [Created] (JEXL-415) incorrect template eval result

Xu Pengcheng created JEXL-415:
---------------------------------

             Summary: incorrect template eval result
                 Key: JEXL-415
                 URL: https://issues.apache.org/jira/browse/JEXL-415
             Project: Commons JEXL
          Issue Type: Bug
            Reporter: Xu Pengcheng


The following code should return "#1", but actually returns "#${a}"
{code:java}
var a = 1;
return `#${a}`; {code}
I checked the syntax doc, seems there is no such rule.

Thanks!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)