Reviewers: Kasper Lund,

Description:
Fix handling of const initialization.  We did not handle the fact that
a const variable can be deleted between its declaration and its
initialization.

This fixes issue 189:

   http://code.google.com/p/v8/issues/detail?id=189


Please review this at http://codereview.chromium.org/18660

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/runtime.cc
   A     test/mjsunit/const-eval-init.js
   M     test/mjsunit/const.js
   A     test/mjsunit/regress/regress-189.js



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to