Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
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(...)')