test/script/error/NASHORN-154/README

Tue, 09 Jun 2015 14:19:57 +0530

author
sundar
date
Tue, 09 Jun 2015 14:19:57 +0530
changeset 1404
271aceb4b3f0
parent 0
b1a7da25b547
permissions
-rw-r--r--

8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
Reviewed-by: attila, hannesw

aoqi@0 1 Section 16 of ECMAScript 5.1 spec details a set of "early errors". Early
aoqi@0 2 errors should be reported before running any line of the script containing
aoqi@0 3 such error(s). Examples include syntax error, errors in regexp literals etc.
aoqi@0 4 This directory contains tests to check early errors are reported as early
aoqi@0 5 errors. Each test starts with a print call -- the output from print should
aoqi@0 6 not be seen in expected output. If seen, early errors are reported late.

mercurial