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
No compilation error as expected, but this generates a runtime error of "undefined is not a constructor".
🙂 Expected behavior
Either a compilation error, or no runtime error.
The text was updated successfully, but these errors were encountered:
zamb3zi
changed the title
Runtime error when static property of a decorated class references the class
Runtime error when static property initializer of a decorated class references the class
Nov 17, 2022
Bug Report
🔎 Search Terms
static initialization decorator runtime
🕗 Version & Regression Information
⏯ Playground Link
Playground link with relevant code
💻 Code
🙁 Actual behavior
No compilation error as expected, but this generates a runtime error of "undefined is not a constructor".
🙂 Expected behavior
Either a compilation error, or no runtime error.
The text was updated successfully, but these errors were encountered: