Yup, I'm still unsure whether the inability to find a class variable in the
following cases causes any practical problems:

let A = class { ... }
let A = class B { ... }

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.

(The other example probably should work, yes, and doesn't currently work.)



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