On 2015/04/20 13:59:46, marja wrote:
I don't think this should work though:

class A {
   m() { class C extends B {} }
}
class B {}

since we should allow init-time references only to already declared things.

No, that should definitely work. Any example of the form

class A {
  m() { ...B... }
}
class B {}

is supposed to work, no matter what "..." is. Failing that would be violating
compositionality.


https://codereview.chromium.org/1060913005/

--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to