Reviewers: Dmitry Lomov (chromium), arv, rossberg,

Message:
ptal.

I have no idea whether adding CLASS_SCOPE makes sense to begin with or whether it'll break something unexpected (at least try jobs are happy). But we'd need
some way to reason about variables which are a class name (their initializer
position is only after the class scope, but methods can refer to them). So this
is a bit of a I-have-no-idea-what-I'm-doing CL. Pls advice. :)

Description:
[strong] Fix scoping related errors for methods.

Methods can refer to the class name.

BUG=v8:3927
LOG=N

Please review this at https://codereview.chromium.org/968263002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+85, -48 lines):
  M src/globals.h
  M src/parser.cc
  M src/runtime/runtime-debug.cc
  M src/scopes.h
  M src/scopes.cc
  M test/mjsunit/strong/declaration-after-use.js


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to