v8/test/mjsunit/strong
marja 1eddcf5b71 [strong] Declaration-after-use errors.
We cannot yet detect use-before-declaration in general, because for that we'd
need to analyze the context when compiling. But we can detect an error case
where we first see a use, then a declaration.

For this, I also added end position tracking (needed for error messages) to
VariableProxy.

Note: the position naming is completely inconsistent: start_position &
end_position, position & end_position, pos & end_pos, beg_pos & end_pos, to name
a few. This doesn't fix all of it, but tries to unify towards start_position &
end_position whenever possible w/ minimal changes.

BUG=

Review URL: https://codereview.chromium.org/943543002

Cr-Commit-Position: refs/heads/master@{#26880}
2015-02-26 13:48:19 +00:00
..
arrays.js [strong] Deprecate ellisions 2015-02-24 12:51:08 +00:00
classes.js [strong] make function and class declarations lexical & immutable 2015-02-19 16:49:19 +00:00
declaration-after-use.js [strong] Declaration-after-use errors. 2015-02-26 13:48:19 +00:00
delete.js [strong] deprecate empty sub-statements 2015-02-17 16:26:06 +00:00
empty-statement.js [strong] Deprecate for-in 2015-02-19 13:50:41 +00:00
equality.js [strong] deprecate empty sub-statements 2015-02-17 16:26:06 +00:00
for-in.js [strong] Deprecate for-in 2015-02-19 13:50:41 +00:00
functions.js [strong] Make functions and generators non-extensible non-constructors 2015-02-25 14:52:51 +00:00
mutually-recursive-funcs.js [strong] Adding regression cases which should always continue working. 2015-02-16 17:57:43 +00:00
use-strong.js [strong] deprecate empty sub-statements 2015-02-17 16:26:06 +00:00
var-let-const.js [strong] Forbid var. 2015-02-17 15:41:25 +00:00