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 2024/08/24 01:16:00 UTC

[jira] [Created] (JEXL-425) Multiline format literals does not always return string.

Xu Pengcheng created JEXL-425:
---------------------------------

             Summary: Multiline format literals does not always return string.
                 Key: JEXL-425
                 URL: https://issues.apache.org/jira/browse/JEXL-425
             Project: Commons JEXL
          Issue Type: Bug
            Reporter: Xu Pengcheng


For example

 
{code:java}
let x = 10;
let y = `${x}` // y is integer type of 10, expect y to be string
let z = `${x}1` // z is string '101'{code}
 

here the type of `y` expected to be string.



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