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
For a bit of background: I initially excluded this at the parser level because such a function isn't represented by a concrete value until fully resolved, so there's nothing to pass around, i.e. when calling a function with a generic function expression as an argument, or just store it in var pass. To me it looks like it's rather a type than a function, and its existence is strictly tied to the dynamic nature of JS. Not saying "no" ofc, but that's the reasoning so far :)
Closing this issue as part of 2020 vacuum because it seems unlikely that we can solve this statically anytime soon due to a missing opportunity to represent it. If someone has an idea that doesn't involve costly runtime checks or otherwise including metadata, feel free to open a new issue or reopen this one.
The text was updated successfully, but these errors were encountered: