In Spoofax 1.4.1, SPT does not seem to support special characters like * in error messages. Using * is a syntax error and if I escape it (i.e. *) it is not a syntax error but the message does not match with the actual message.

Here is the example test:

test Select Star with Group By [[
  SELECT *
  WHERE
    n
  GROUP BY n.name
]] / SELECT * only allowed in combination with GROUP BY if all variables in the WHERE clause are group keys /
Submitted by Oskar van Rest on 28 October 2015 at 22:01

Log in to post comments