-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Backports for 1.5.2 #37210
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
Backports for 1.5.2 #37210
Conversation
Removes ambiguity:
```
julia> Base.OrderStyle(Union{})
ERROR: MethodError: Base.OrderStyle(::Type{Union{}}) is ambiguous. Candidates:
```
This error is relevant as with current `unique!` definition that relies on `OrderStyle` one can have a problem in corner cases. E.g.:
```
julia> [i for i in ["1"] if i isa Int]
0-element Array{Union{},1}
```
Co-authored-by: Milan Bouchet-Valat <[email protected]>
(cherry picked from commit 03e1a89)
|
Seems that the back point of #37149 included more than just the bug fix. Only e change to gcutils.jl and secretbuffer.jl should be backported since those fixed the wrong return type from strlen call... |
|
Thanks, I missed that comment, will change it. |
f59a4ff to
359a71b
Compare
359a71b to
96cfb7e
Compare
We had been assuming that IdentityUnitRange matched the indices of the parent (like Slices) but they define their own offset axes. Further, other `AbstractRanges` may be similarly offset. We do not need to consider other offset `AbstractArrays` as this code only applies to `IndexLinear` `SubArray`s. (cherry picked from commit 701885b)
2bfbb88 to
4ea0e8c
Compare
martinholters
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests from #37443 need a minor adjustment.
f529e8a to
bb3ff89
Compare
30d5003 to
332af19
Compare
|
This is the needed line: |
|
Ref. #37365 (comment) 😉 |
|
Strange, I was sure I did that... |
e443b33 to
4a22a51
Compare
|
@nanosoldier |
|
@nanosoldier |
|
Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. cc @ararslan |
|
Your package evaluation job has completed - possible new issues were detected. A full report can be found here. cc @maleadt |
looks a bit strange. @JeffBezanson? |
|
Backport of #37315 should be |
(cherry picked from commit f780151)
(cherry picked from commit 3453a5c)
(cherry picked from commit f51d4cb)
(cherry picked from commit 405cd6f)
(cherry picked from commit 483b637)
(cherry picked from commit 315ad46)
This is a compile error on 10+ and is probably triggering implicity conversion on LLVM 8 and 9. (cherry picked from commit 5acd7bd)
(cherry picked from commit 1e6d771)
(cherry picked from commit b17cd10)
164abe0 to
9f1d1fa
Compare
|
This should be good to go once CI finishes. |
Backported PRs:
OrderStyleforUnion{}#36810 - DefineOrderStyleforUnion{}x::T -> y#37181 - fix Type declaration on anonymous function arguments in macro not working on 1.5 #37134, error with macro returningx::T -> yEnumin the repl #37404 - fixEnumcan't be displayed in REPL #37401, displayingEnumin the repljulia_version.hbefore runningclangsa#37394 - Buildjulia_version.hbefore runningclangsagetfield_tfuncfor constantTypeName#37443 - Fixgetfield_tfuncfor constantTypeNameType{Union{}}#37261 - Fix type-equality involvingType{Union{}}Union#37207 - Prune egal types when forming aUnionContains multiple commits, manual intervention needed:
Non-merged PRs with backport label: