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

Backports for Julia 1.8.3 #46984

Merged
merged 41 commits into from
Nov 8, 2022
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
85155e1
Set `intersection = 1` during `intersect_sub_datatype` (#46882)
N5N3 Sep 24, 2022
1b70b0f
Don't prompt field names for tuples at the REPL (#46897)
LilithHafner Sep 25, 2022
1dcd60f
Don't crash on variable sized gc allocations (#46914)
wsmoses Sep 26, 2022
d9fe050
improve type stability of `handle_message(logger, ...` (#46906)
ranocha Sep 27, 2022
2666073
Don't error when transposing an empty buffer (#46925)
perryprog Sep 27, 2022
5d30157
Fix shift direction of circshift! for vectors (#46759)
fredrikekre Sep 27, 2022
752cc69
bump SparseArrays to latest release-1.8
Sep 30, 2022
ddbb5bc
[win] Backport win MSYS2 build pr (#46988)
inkydragon Oct 8, 2022
6fe0031
Fix serialization of code instances (#46373)
maleadt Aug 17, 2022
14dcba2
`Base.stale_cachefile`: allow `ftime_req` to be greater than `ftime` …
DilumAluthge Jun 17, 2022
eb4cf73
Take into account color and unicode in matrix alignment (#45751)
Keno Jun 22, 2022
431b19b
CI (Create Buildbot Statuses): remove `tester_win64` and `tester_win3…
DilumAluthge Oct 1, 2022
618bbc6
make CanonicalIndexError an Exception type (#47008)
cjdoris Oct 2, 2022
5930711
Replace isfinite check in ranges with lo ≤ x ≤ hi (#45646)
LilithHafner Oct 3, 2022
e7b0555
gc: add missing root for binding->ty field (#46806)
staticfloat Oct 6, 2022
4da1a66
Check sizes in 3-arg diagonal (dot-)product (#47114)
dkarrasch Oct 10, 2022
1e78c64
make REPL completions robust against `expanduser` throwing (#47058)
KristofferC Oct 10, 2022
aa2d7c4
fix invalidations when loading ForwardDiff.jl (#47091)
ranocha Oct 10, 2022
7b1c32d
optimizer: fix alloc opt on unknown offset with references (#47076)
wsmoses Oct 10, 2022
0c0c86c
fix spelling of :not_atomic symbol default value (#47187)
vtjnash Oct 17, 2022
0da955a
fix linkage of libuv (#47203)
vtjnash Oct 18, 2022
7d8f474
Ensure port in listenany stays UInt16 (#47213)
quinnj Oct 20, 2022
b8ab6cf
[InteractiveUtils] win: handle empty clipboard errors (#47311)
vtjnash Oct 24, 2022
8c8b6f0
Better Libdl.dlopen error when using non-standard extension (#46998)
fingolfin Oct 25, 2022
e4b0dfb
Mark as `inline` functions implemented in `src/serialize.h` (#44739)
giordano Apr 1, 2022
baa7001
ccall: handle Union appearing as a field-type without crashing (#46787)
vtjnash Sep 21, 2022
d21a9f2
staticdata: avoid needing unaligned loads, support 64-bit images (#46…
vtjnash Sep 22, 2022
40c3778
Add compat note for `@testset foo()` (#46980)
Seelengrab Oct 2, 2022
36a17ad
subtype: fix miscount of Tuple Vararg matching
vtjnash Oct 26, 2022
7ff3900
Fix GC assertion on array of derived pointers (#47299)
wsmoses Oct 25, 2022
7e07aa0
sysimg relocation lists now use LEB128 format (#47204)
apaz-cli Oct 18, 2022
6caa013
bugfix: fld1 order of ops (#46938)
JeffreySarnoff Oct 3, 2022
e78a9d2
fix `--compile=all` option, and some improvements for `--strip-ir` (#…
JeffBezanson Oct 27, 2022
47ef407
improve inferrability of `sort!` (#46921)
ranocha Oct 3, 2022
a719aff
Build system: when building the HTML docs, exclude SuiteSparse if `US…
DilumAluthge Oct 28, 2022
50ea71a
fix up `Conditional`-forwarding for vararg methods (#47438)
aviatesk Nov 3, 2022
10f616d
1.8: Change the tracking branch for SuiteSparse from `master` to `rel…
DilumAluthge Nov 6, 2022
f69b361
revert part of https://github.com/JuliaLang/julia/pull/44444/ which s…
KristofferC Nov 7, 2022
cb1e40b
test cleanup for #44444 (#44993) (#47416)
staticfloat Nov 7, 2022
53cf58e
bump Pkg to latest v1.8
KristofferC Nov 7, 2022
0a121d1
cgmemmgr,macos: add missing shared_map_lock initialization
vtjnash Nov 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Set intersection = 1 during intersect_sub_datatype (#46882)
(cherry picked from commit e6d9979)
N5N3 authored and KristofferC committed Oct 28, 2022

Unverified

This user has not yet uploaded their public signing key.
commit 85155e12997a273a21b7926af4a81193a3ef6c15
2 changes: 1 addition & 1 deletion src/subtype.c
Original file line number Diff line number Diff line change
@@ -2840,7 +2840,7 @@ static jl_value_t *intersect_sub_datatype(jl_datatype_t *xd, jl_datatype_t *yd,
JL_GC_PUSHARGS(env, envsz);
jl_stenv_t tempe;
init_stenv(&tempe, env, envsz);
tempe.ignore_free = 1;
tempe.intersection = tempe.ignore_free = 1;
if (subtype_in_env(isuper, super_pattern, &tempe)) {
jl_value_t *wr = wrapper;
int i;
7 changes: 7 additions & 0 deletions test/subtype.jl
Original file line number Diff line number Diff line change
@@ -2031,3 +2031,10 @@ S46735{B<:Val, M<:AbstractMatrix} = Tuple{<:Union{B, <:Val{<:B}},M,<:(Union{Abst
A46735{B<:Val, M<:AbstractMatrix} = Tuple{<:Union{B, <:Val{<:B}},M,Union{AbstractMatrix{B}, AbstractMatrix{<:Vector{<:B}}}}
@testintersect(A46735{B} where {B}, A46735, !Union{})
@testintersect(A46735{B, M} where {B, M}, A46735, !Union{})

#issue #46871
struct A46871{T, N, M} <: AbstractArray{T, N} end
struct B46871{T, N} <: Ref{A46871{T, N, N}} end
for T in (B46871{Int, N} where {N}, B46871{Int}) # intentional duplication
@testintersect(T, Ref{<:AbstractArray{<:Real, 3}}, B46871{Int, 3})
end