Skip to content
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

Any function of ::Real is also a function of ::Char #8569

Closed
danluu opened this issue Oct 3, 2014 · 3 comments
Closed

Any function of ::Real is also a function of ::Char #8569

danluu opened this issue Oct 3, 2014 · 3 comments

Comments

@danluu
Copy link
Contributor

danluu commented Oct 3, 2014

I'm not sure this is considered a bug, but I find it pretty strange that things like expm1('-') and sleep('a') aren't errors.

I suppose this is so you can do things like 'a' + 1 without having to write char(int(a) + 1)?

@simonster
Copy link
Member

I think this is a dup of #5844

@danluu
Copy link
Contributor Author

danluu commented Oct 3, 2014

Oh, looks like it.

@danluu danluu closed this as completed Oct 3, 2014
@JeffBezanson
Copy link
Member

I suppose this is another vote in favor of that change.

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

No branches or pull requests

3 participants