-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Type inference problem in color conversions #4020
Comments
@JeffBezanson, if you'd like I can start a |
Actually the problem is that Uint32+Uint32 gives a Uint64. I do sometimes
|
Indeed that fixes it, thanks!
I do too, especially since
It's quite popular with me :-). I had in fact put such declarations on What are the odds of writing a tool to help identify such problems? For example,
Over the past few days in my own coding I've probably spent ~15% of my time chasing down such issues, so I'm not entirely causal in asking about this. (Oh no, I can see another Profile-scale job coming...) |
I believe @astrieanna has been working on a tool for identifying things like this. |
Awesome! |
…0d22b (#56032) Stdlib: Pkg URL: https://github.com/JuliaLang/Pkg.jl.git Stdlib branch: release-1.11 Julia branch: backports-release-1.11 Old commit: 6ceafca8e New commit: aba90d22b Julia version: 1.11.0 Pkg version: 1.11.0 Bump invoked by: @IanButterworth Powered by: [BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl) Diff: JuliaLang/Pkg.jl@6ceafca...aba90d2 ``` $ git log --oneline 6ceafca8e..aba90d22b aba90d22b Merge pull request #4037 from JuliaLang/backports-release-1.11 76eaa4caa Fix julia#55850 by using safe_realpath instead of abspath in projname (#4025) df38587fb warn if General is installed via the old slow methods (#4022) 1475b628a update package extension naming docs (#4000) 72dc85e80 Tweak sentence syntax in getting-started.md (#4020) 0b2397089 make `add` and `dev` on a package remove it from the set of weak dependencies (#3865) ee2d51054 collect e.g. weak deps from project even if it is not a package (#3852) ``` Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
The following code allocates memory when it seems like it shouldn't:
The text was updated successfully, but these errors were encountered: