fix parsing of property access after new line (#1944)
authorAlex Lam S.L <alexlamsl@gmail.com>
Mon, 15 May 2017 21:40:49 +0000 (05:40 +0800)
committerGitHub <noreply@github.com>
Mon, 15 May 2017 21:40:49 +0000 (05:40 +0800)
commit9464d3c20f60d7abe7fde5b48cc00a699566dbe7
tree4435f4fbad9b37ea74308c7369033f8a12e7924c
parentf18abd1b9cba6a4b259777829160e147119f77ec
fix parsing of property access after new line (#1944)

Account for comments when detecting property access in `tokenizer`.

fixes #1943
lib/parse.js
test/compress/issue-1943.js [new file with mode: 0644]