v8/test/message
neis 8cd5592f54 [parsing] When failing due to variable redeclaration, point at the variable.
We used to point elsewhere, for instance the right-hand-side of an assignment.

Small limitation: Since variable proxies only have a start position, not an end
position, the best we can do is point at the first character.  (We cannot rely
on the scanner's last token position because Declare may be called long after
the variable has been scanned.)

R=adamk@chromium.org
BUG=v8:5572

Review-Url: https://codereview.chromium.org/2447143005
Cr-Commit-Position: refs/heads/master@{#40613}
2016-10-27 11:03:47 +00:00
..
regress
arrow-bare-rest-param.js
arrow-bare-rest-param.out
arrow-formal-parameters.js
arrow-formal-parameters.out
arrow-invalid-rest-2.js
arrow-invalid-rest-2.out Remove duplicated code from comma-separated Expression parsing 2016-08-31 01:24:19 +00:00
arrow-invalid-rest.js
arrow-invalid-rest.out Remove duplicated code from comma-separated Expression parsing 2016-08-31 01:24:19 +00:00
arrow-missing.js
arrow-missing.out
arrow-param-after-rest-2.js
arrow-param-after-rest-2.out
arrow-param-after-rest.js
arrow-param-after-rest.out
arrow-strict-eval-bare-parameter.js
arrow-strict-eval-bare-parameter.out
arrow-two-rest-params.js
arrow-two-rest-params.out
class-constructor-accessor.js
class-constructor-accessor.out
class-constructor-generator.js
class-constructor-generator.out
const-decl-no-init2.js
const-decl-no-init2.out
const-decl-no-init-sloppy.out
const-decl-no-init.js
const-decl-no-init.out
default-parameter-tdz-arrow.js
default-parameter-tdz-arrow.out
default-parameter-tdz.js
default-parameter-tdz.out
destructuring-decl-no-init-array2.js
destructuring-decl-no-init-array2.out
destructuring-decl-no-init-array.js
destructuring-decl-no-init-array.out
destructuring-decl-no-init-obj2.js
destructuring-decl-no-init-obj2.out
destructuring-decl-no-init-obj.js
destructuring-decl-no-init-obj.out
destructuring-modify-const.js
destructuring-modify-const.out
export-duplicate-as.js Reland of "[modules] Make duplicate export error deterministic." 2016-09-15 01:37:03 +00:00
export-duplicate-as.out Reland of "[modules] Make duplicate export error deterministic." 2016-09-15 01:37:03 +00:00
export-duplicate-default.js Reland of "[modules] Make duplicate export error deterministic." 2016-09-15 01:37:03 +00:00
export-duplicate-default.out Reland of "[modules] Make duplicate export error deterministic." 2016-09-15 01:37:03 +00:00
export-duplicate.js Reland of "[modules] Make duplicate export error deterministic." 2016-09-15 01:37:03 +00:00
export-duplicate.out Reland of "[modules] Make duplicate export error deterministic." 2016-09-15 01:37:03 +00:00
for-in-let-loop-initializers-strict.js
for-in-let-loop-initializers-strict.out
for-in-loop-initializers-destructuring.js
for-in-loop-initializers-destructuring.out
for-in-loop-initializers-strict.js
for-in-loop-initializers-strict.out
for-loop-invalid-lhs.js
for-loop-invalid-lhs.out
for-of-let-loop-initializers.js
for-of-let-loop-initializers.out
for-of-loop-initializers-sloppy.js
for-of-loop-initializers-sloppy.out
for-of-loop-initializers-strict.js
for-of-loop-initializers-strict.out
for-of-throw-in-body.js
for-of-throw-in-body.out
formal-parameters-bad-rest.js
formal-parameters-bad-rest.out
formal-parameters-strict-body.js
formal-parameters-strict-body.out
formal-parameters-trailing-comma.js
formal-parameters-trailing-comma.out
function-sent-escaped.js
function-sent-escaped.out
generators-throw1.js
generators-throw1.out
generators-throw2.js
generators-throw2.out
import-as-eval.js
import-as-eval.out
import-as-redeclaration.js
import-as-redeclaration.out
import-as-reserved-word.js
import-as-reserved-word.out
import-eval.js
import-eval.out
import-redeclaration.js
import-redeclaration.out
import-reserved-word.js
import-reserved-word.out
instanceof-noncallable.js
instanceof-noncallable.out
instanceof-nonobject.js
instanceof-nonobject.out
invalid-spread-2.js
invalid-spread-2.out
invalid-spread.js
invalid-spread.out
isvar.js
isvar.out
let-lexical-name-in-array-prohibited.js
let-lexical-name-in-array-prohibited.out
let-lexical-name-in-object-prohibited.js
let-lexical-name-in-object-prohibited.out
let-lexical-name-prohibited.js
let-lexical-name-prohibited.out
message.gyp
message.isolate
message.status [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-cycle1.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-cycle1.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-cycle2.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-cycle2.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-cycle3.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-cycle3.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-cycle4.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-cycle4.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-duplicate-export1.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-duplicate-export1.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-duplicate-export2.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-duplicate-export2.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-duplicate-export3.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-duplicate-export3.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-duplicate-export4.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-duplicate-export4.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import1.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import1.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import2.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import2.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import3.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import3.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import4.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import4.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import5.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import5.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import6.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import6.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import-redeclare1.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import-redeclare1.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import-redeclare2.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import-redeclare2.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import-redeclare3.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-import-redeclare3.out [parsing] When failing due to variable redeclaration, point at the variable. 2016-10-27 11:03:47 +00:00
modules-skip-cycle2.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-skip-cycle3.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-star-conflict1.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-star-conflict1.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-star-conflict2.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-star-conflict2.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-star-default.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-star-default.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-undefined-export1.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-undefined-export1.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-undefined-export2.js [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
modules-undefined-export2.out [modules] Improve error messages. 2016-10-26 15:10:24 +00:00
new-target-assignment.js
new-target-assignment.out
new-target-escaped.js
new-target-escaped.out
new-target-for-loop.js
new-target-for-loop.out
new-target-postfix-op.js
new-target-postfix-op.out
new-target-prefix-op.js
new-target-prefix-op.out
nf-yield-in-generator.js
nf-yield-in-generator.out
nf-yield-strict-in-generator.js
nf-yield-strict-in-generator.out
nf-yield-strict.js
nf-yield-strict.out
nfe-yield-generator.js
nfe-yield-generator.out
nfe-yield-strict.js
nfe-yield-strict.out
non-alphanum.js
non-alphanum.out
non-use-strict-hex-escape.js
non-use-strict-hex-escape.out
non-use-strict-octal-escape.js
non-use-strict-octal-escape.out
non-use-strict-uhex-escape.js
non-use-strict-uhex-escape.out
nonstrict-arguments.js
nonstrict-arguments.out
nonstrict-eval.js
nonstrict-eval.out
nonstrict-with.js
nonstrict-with.out
overwritten-builtins.js
overwritten-builtins.out
paren_in_arg_string.js
paren_in_arg_string.out
redeclaration1.js [parsing] When failing due to variable redeclaration, point at the variable. 2016-10-27 11:03:47 +00:00
redeclaration1.out [parsing] When failing due to variable redeclaration, point at the variable. 2016-10-27 11:03:47 +00:00
redeclaration2.js [parsing] When failing due to variable redeclaration, point at the variable. 2016-10-27 11:03:47 +00:00
redeclaration2.out [parsing] When failing due to variable redeclaration, point at the variable. 2016-10-27 11:03:47 +00:00
redeclaration3.js [parsing] When failing due to variable redeclaration, point at the variable. 2016-10-27 11:03:47 +00:00
redeclaration3.out [parsing] When failing due to variable redeclaration, point at the variable. 2016-10-27 11:03:47 +00:00
replacement-marker-as-argument.js
replacement-marker-as-argument.out
rest-param-class-setter-strict.js
rest-param-class-setter-strict.out
rest-param-object-setter-sloppy.js
rest-param-object-setter-sloppy.out
rest-param-object-setter-strict.js
rest-param-object-setter-strict.out
simple-throw.js
simple-throw.out
strict-formal-parameters.js
strict-formal-parameters.out
strict-octal-indirect-regexp.js
strict-octal-indirect-regexp.out
strict-octal-number.js
strict-octal-number.out
strict-octal-regexp.js
strict-octal-regexp.out
strict-octal-string.js
strict-octal-string.out
strict-octal-use-strict-after.js
strict-octal-use-strict-after.out
strict-octal-use-strict-before.js
strict-octal-use-strict-before.out
strict-with.js
strict-with.out
super-constructor-extra-statement.js
super-constructor-extra-statement.out
super-constructor.js
super-constructor.out
super-in-function.js
super-in-function.out
testcfg.py
try-catch-finally-no-message.js
try-catch-finally-no-message.out
try-catch-finally-return-in-finally.js
try-catch-finally-return-in-finally.out
try-catch-finally-throw-in-catch-and-finally.js
try-catch-finally-throw-in-catch-and-finally.out
try-catch-finally-throw-in-catch.js
try-catch-finally-throw-in-catch.out
try-catch-finally-throw-in-finally.js
try-catch-finally-throw-in-finally.out
try-catch-lexical-conflict.js
try-catch-lexical-conflict.out
try-catch-variable-conflict.js
try-catch-variable-conflict.out
try-finally-return-in-finally.js
try-finally-return-in-finally.out
try-finally-throw-in-finally.js
try-finally-throw-in-finally.out
try-finally-throw-in-try-and-finally.js
try-finally-throw-in-try-and-finally.out
try-finally-throw-in-try.js
try-finally-throw-in-try.out
unicode-escape-invalid-2.js
unicode-escape-invalid-2.out
unicode-escape-invalid.js
unicode-escape-invalid.out
unicode-escape-undefined.js
unicode-escape-undefined.out
unterminated-arg-list.js
unterminated-arg-list.out
yield-in-arrow-param.js
yield-in-arrow-param.out
yield-in-generator-param.js
yield-in-generator-param.out