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
The ability to use super inside static appears to have been added in 4.4. This bug existed when the feature was introduced, presumably in Change static fields emits #43114.
Bug Report
🔎 Search Terms
class static field super prototype setPrototypeOf
🕗 Version & Regression Information
super
insidestatic
appears to have been added in 4.4. This bug existed when the feature was introduced, presumably in Change static fields emits #43114.⏯ Playground Link
Playground link with relevant code
💻 Code
🙁 Actual behavior
When this code is transformed by TypeScript, it outputs
1 1
.🙂 Expected behavior
When this code is run natively, it outputs
1 2
.The code generated by TypeScript currently looks like this:
I expected something like this instead:
The text was updated successfully, but these errors were encountered: