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
This will result in generated code using the parameter names in property names, which will allow the two to be distinguished.
That said, this issue does shed light on an edge case where the function and parameter names are the exact same, but take different types.
I could see this being a problem in code that may have APIs that look a bit more generic, like this:
The only thing that'd we'd have to differentiate the functions would be the parameters' actual type. If we detect that two functions have the same signatures, I think our only option might generating code that includes the type names:
A more visually-pleasing option may be throwing in some underscores into these properties, like send_UINotificationFeedbackGeneratorFeedbackType_CallsCount.
results in a bunch
Invalid redeclaration of ...
warningsThe text was updated successfully, but these errors were encountered: