The parser is failing to record the token location of new in new.target.
https://bugs.webkit.org/show_bug.cgi?id=195127
<rdar://problem/
39645578>
Reviewed by Yusuke Suzuki.
JSTests:
* stress/parser-should-record-token-location-of-new-dot-target.js: Added.
Source/JavaScriptCore:
Also adjust the token location for the following to be as shown:
new.target
^
super
^
import.meta
^
* parser/Parser.cpp:
(JSC::Parser<LexerType>::parseMemberExpression):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242193
268f45cc-cd09-0410-ab3c-
d52691b4dbfc