nashorn/test/script/error/JDK-8039047.js.EXPECTED
author sundar
Wed, 02 Apr 2014 15:52:31 +0530
changeset 23766 a3ef17770bab
permissions -rw-r--r--
8039047: Parser accepts conditional catch clauses even when --no-syntax-extensions / -nse option is passed Reviewed-by: lagergren, attila
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
23766
a3ef17770bab 8039047: Parser accepts conditional catch clauses even when --no-syntax-extensions / -nse option is passed
sundar
parents:
diff changeset
     1
test/script/error/JDK-8039047.js:33:11 Expected ) but found if
a3ef17770bab 8039047: Parser accepts conditional catch clauses even when --no-syntax-extensions / -nse option is passed
sundar
parents:
diff changeset
     2
} catch (e if e instanceof ReferenceError) {
a3ef17770bab 8039047: Parser accepts conditional catch clauses even when --no-syntax-extensions / -nse option is passed
sundar
parents:
diff changeset
     3
           ^
a3ef17770bab 8039047: Parser accepts conditional catch clauses even when --no-syntax-extensions / -nse option is passed
sundar
parents:
diff changeset
     4
test/script/error/JDK-8039047.js:35:0 Expected eof but found }
a3ef17770bab 8039047: Parser accepts conditional catch clauses even when --no-syntax-extensions / -nse option is passed
sundar
parents:
diff changeset
     5
}
a3ef17770bab 8039047: Parser accepts conditional catch clauses even when --no-syntax-extensions / -nse option is passed
sundar
parents:
diff changeset
     6
^