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

Deprecation for int(::Vector{Any}) is broken #10499

Closed
simonster opened this issue Mar 13, 2015 · 1 comment
Closed

Deprecation for int(::Vector{Any}) is broken #10499

simonster opened this issue Mar 13, 2015 · 1 comment
Labels
bug Indicates an unexpected problem or unintended behavior

Comments

@simonster
Copy link
Member

int(Any[1, 2, 3]) worked previously, but the deprecation from #10452 doesn't. It tries to call round(Int, Any[1, 2, 3]), but the vectorized form of round is constrained to Real arrays. Either we should get rid of that type restriction on round (maybe just for the methods that take a type first), or we should add a deprecation that works for this case.

@simonster simonster added the bug Indicates an unexpected problem or unintended behavior label Mar 13, 2015
@IainNZ
Copy link
Member

IainNZ commented Mar 13, 2015

Just got PkgEval running again after a multiple-day hiatus, this took out quite a few (~10) packages on 0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants