What steps will reproduce the problem?
1. esprima.parse("()\n=> 42;")
What is the expected output?
Some error like "Illegal newline before arrow"
What do you see instead?
No error
What version of the product are you using? On what operating system? Which
browser? Doesn't matter
Please provide any additional information below.
Section 11.9.1 of the ES6 draft says
ArrowFunction[In, Yield] :
ArrowParameters[?Yield] [no LineTerminator here] => ConciseBody[?In]
Original issue reported on code.google.com by GabeL...@gmail.com on 17 Sep 2014 at 1:04
Original issue reported on code.google.com by
GabeL...@gmail.com
on 17 Sep 2014 at 1:04