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

None is not accepted by overloaded function #111

Closed
JukkaL opened this issue Feb 6, 2013 · 1 comment
Closed

None is not accepted by overloaded function #111

JukkaL opened this issue Feb 6, 2013 · 1 comment
Labels
bug mypy got something wrong

Comments

@JukkaL
Copy link
Collaborator

JukkaL commented Feb 6, 2013

The following program raises an exception, even though it should arguably print 'str':

void f(str x): print('str')
void f(int a): print('int')
f(None)
@ghost ghost assigned JukkaL Feb 6, 2013
@JukkaL
Copy link
Collaborator Author

JukkaL commented May 17, 2015

Overloaded functions are only for stubs, so this is no longer an issue.

@JukkaL JukkaL closed this as completed May 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong
Projects
None yet
Development

No branches or pull requests

1 participant