Tue, 09 Jun 2015 14:19:57 +0530
8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
Reviewed-by: attila, hannesw
1 Section 16 of ECMAScript 5.1 spec details a set of "early errors". Early
2 errors should be reported before running any line of the script containing
3 such error(s). Examples include syntax error, errors in regexp literals etc.
4 This directory contains tests to check early errors are reported as early
5 errors. Each test starts with a print call -- the output from print should
6 not be seen in expected output. If seen, early errors are reported late.