- From: Darien Maillet Valentine <notifications@github.com>
- Date: Tue, 07 Mar 2023 09:31:41 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 7 March 2023 17:31:54 UTC
> This isn't a thing in the current proposal. Calling constructors is only supported for the global registry: Yes, I meant pretend it’s the internal invocation of Foo (hence the labeling argument). It’s not the most artful demo, admittedly :) > Recursively calling a constructor before super() can get individual instances swapped already. Right, in the upgrade path, but a TypeError is thrown if the expected instance isn’t returned (“...must not return a different object”). That’s why I asked about whether a similar exception could/would be thrown in this scenario. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/969#issuecomment-1458561678 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/969/1458561678@github.com>
Received on Tuesday, 7 March 2023 17:31:54 UTC