Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-296

Real literal in scientific format is not parsed without suffix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1
    • 3.2
    • None

    Description

      I have found that in current implementation the testRealLiteralScript() fails with ambigous statement error

          @Test
          public void testRealLiteralScript() throws Exception {
              JexlContext jc = new MapContext();
              Object o;
              o = JEXL.createScript("1e10").execute(jc);
              Assert.assertEquals(1e10, o);
          }
      
      

       

      Attachments

        Issue Links

          Activity

            People

              henrib Henri Biestro
              dmitri_blinov Dmitri Blinov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: