Skip to content

[stdlib] Adding a useful message to an unavailable &+ #9045

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

moiseev
Copy link
Contributor

@moiseev moiseev commented Apr 26, 2017

No description provided.

@moiseev
Copy link
Contributor Author

moiseev commented Apr 26, 2017

@swift-ci Please smoke test and merge
/cc @dabrahams

@jrose-apple
Copy link
Contributor

You can't actually use that syntax with operators. If someone's gotten here, that probably means they used the wrong constraint on their generic parameters, not that they invoked the SignedInteger version of the operator directly.

@moiseev
Copy link
Contributor Author

moiseev commented Apr 26, 2017

@jrose-apple That is exactly what I am trying to fix.

@jrose-apple
Copy link
Contributor

My point is that it's not a good message. They don't want to invoke a different operator; they should change their generic requirements.

@moiseev
Copy link
Contributor Author

moiseev commented Apr 26, 2017

Let it be no message then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants