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
Fair enough. My reasoning was that the compiler already checks for unused global vars and methodmap functions, and ES are used by developers in a similar fashion. I can't think of a scenario where one would want to declare ES properties/methods and never use them. Whenever I do this, it's by mistake. Even though they're just arrays under the hood, their declaration is more explicit and they can't be sanely passed via natives, so if the properties/methods aren't used locally, they're just dead code/memory. (unless I'm missing a use case where this isn't true)
Code
produces no warning for unused symbols
b
andDoThing
.Tested in spcomp 1.11.0.6846
The text was updated successfully, but these errors were encountered: