Uploaded image for project: 'SystemDS'
  1. SystemDS
  2. SYSTEMDS-614

Single variable DML script reports wrong line number

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • SystemDS 3.2
    • Parser
    • None

    Description

      A DML script consisting of a single string of alphanumeric characters such as "f" or "foo" generates the wrong line number (2 instead of 1) in error message:

      (syntaxError) - example.dml line 2:0 no viable alternative at input 'f'
      
      (syntaxError) - example.dml line 2:0 no viable alternative at input 'foo'
      

      For comparison, a DML script consisting of "foo()" generates the correct line number (1) in error message:

      (validationError) - example.dml line 1:0 function call needs to have lvalue (Quickfix: change it to 'tmpVar = foo(...)')
      

      Attachments

        Activity

          People

            mboehm7 Matthias Boehm
            deron Jon Deron Eriksson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: