You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[pkg:js] Disallow users from using synthetic constructors for @staticInterop #49941
Currently, users can write interop classes and call synthetic constructors and they will hit no checks. In the Wasm case, generative constructors are a pain point, so a synthetic constructor should be disallowed. Synthetic constructors should compile to the same code as factories with and without the @anonymous annotation. We should check for invocations of synthetic constructors and disallow them and advise them to use non-synthetic constructors instead.
Activity
Add external factories for @staticInterop classes instead of syntheti…
Add external factories for @staticInterop classes instead of syntheti…
Add external factories for @staticInterop classes instead of syntheti…
Add external factories for @staticInterop classes instead of syntheti…
Add external factories for @staticInterop classes instead of syntheti…