Open GoogleCodeExporter opened 9 years ago
This is still in 2.2.6 :(
Original comment by filip.noetzel
on 12 Nov 2010 at 8:26
Additional testcases (where semicolons are inserted with r7):
a = b + c
(d + e).print();
and
x()
();
.. the first one is actually taken from the ECMA-262 spec
http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf
§7.9.2 where it serves as an example where automatic semicolon insertion
should not happen.
Attached is a fix with these two testcases.
Original comment by filip.noetzel
on 20 Feb 2011 at 8:22
Attachments:
Original issue reported on code.google.com by
filip.noetzel
on 24 Sep 2010 at 3:26