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
As far as I can tell there is no way to invoke cannotCall given this definition, so it's not useful to define it. Should we make this an error or warning?
The text was updated successfully, but these errors were encountered:
Agree. There is nothing inherently wrong with having local static helper functions in scope and used by the extension members.
It's dead code, like any other static on a private class, if it's not actually used by the containing library, and the analyzer should be able to recognize that normally.
As far as I can tell there is no way to invoke
cannotCall
given this definition, so it's not useful to define it. Should we make this an error or warning?The text was updated successfully, but these errors were encountered: