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 v0.6.3 #26915

Merged
merged 42 commits into from
May 27, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
a321e6b
ios: Use _chsize_s on Windows for file truncation (#24616)
jaakkor2 Dec 9, 2017
860627f
FileWatching: fix use-after-free (#24767)
vtjnash Nov 29, 2017
fe2410a
make setindex!(v::RowVector, ...) return v rather than v's parent (#2…
Sacha0 Dec 3, 2017
539423e
Improve Pkg dependency pruning
carlobaldassi Dec 3, 2017
f96b7ab
Improve Pkg.Query.sanity_check
carlobaldassi Dec 3, 2017
bafff12
Ensure consistency in Pkg solver decimation process
carlobaldassi Dec 4, 2017
f50b1ce
Some debug code for Pkg solver
carlobaldassi Dec 4, 2017
1e59581
Use -ffc2 when compiling Fortran libraries with gfortran and MKL (#25…
andreasnoack Dec 30, 2017
01a1dda
fix a case of non-transitivity in method specificity (#25832)
JeffBezanson Feb 1, 2018
c66a23f
fix typo in markdown rendering of SVG images (#25987)
stevengj Feb 11, 2018
7f2876f
Fix leak of Futures when unfetched Futures are repeatedly serialized …
amitmurthy Feb 23, 2018
04f788b
Fix bunch kaufman type stability (#26375)
haampie Mar 9, 2018
076ae8f
bugfix for regex matches ending with non-ASCII (#26831)
stevengj Apr 19, 2018
8fc364e
Upgrade openblas to 0.2.20 (#22975)
tkelman Sep 17, 2017
fe59a2b
IdDict: support deletion, and support `nothing` used as a key
vtjnash Apr 17, 2018
4bfabb6
Travis: download moreutils from the release tarball (#26902)
mbauman Apr 27, 2018
199a204
Remove indirect dependency on system ZLIB (#26888)
vchuravy Apr 30, 2018
8fc030b
bump utf8proc to 2.1.1 (#26917)
stevengj May 2, 2018
c6a77bf
Set RPATH for private libdirs on FreeBSD
ararslan May 3, 2017
177677d
Allow building patchelf on FreeBSD
ararslan May 9, 2017
4174f0a
Workaround for FreeBSD linking to outdated system libs
ararslan May 11, 2017
a833395
Rearrange CMake RPATH specifications to be centrally defined
ararslan May 13, 2017
3d27e2d
Mark the backtrace test as broken on FreeBSD (#21917)
ararslan May 17, 2017
4530b55
Avoid setting the RPATH for LLVM
ararslan Jun 13, 2017
51da3b5
Declare LLVM Make variables as simply-expanded, not recursively expanded
vtjnash Jun 13, 2017
e231870
A simpler way to deal with libgcc_s on FreeBSD (#22656)
iblislin Jul 10, 2017
1b9900b
libgit2: fix cmake options on FreeBSD (#22754)
iblislin Jul 12, 2017
ed27c3d
sysinfo: fix the unit of maxrss on FreeBSD
iblislin Jul 28, 2017
828ea76
interactiveutil: clipboard for FreeBSD (#23151)
iblislin Dec 16, 2017
4762397
Add customizable build scripts for FreeBSD CI
iblislin Jan 29, 2018
6e2e0e0
Search the julia subfolder first in RPATH (#26972)
andreasnoack May 6, 2018
4c243bf
fix #26979, incorrect typeassert in deserialize
JeffBezanson May 4, 2018
1fea0bb
Backport symbol versioning patch from LLVM 4.0
ihnorton Dec 3, 2017
9ef6916
add JL prefix to libLLVM.so symbol version suffixes
vchuravy Jan 16, 2018
7a836d1
fix a transitivity issue in specificity, from #26915 (#27042)
JeffBezanson May 10, 2018
72c3e62
add AbstractVecOrMat fallback for vcat (fixes #25770) (#25777)
stevengj Jan 28, 2018
a286fe1
Avoid out of bounds read in mul! for SymTridiagonal (#27008)
andreasnoack May 11, 2018
6c065b6
base/array.jl: fix definition of ntuple with a Val argument to not ex…
vtjnash May 15, 2018
3308f1f
Manually add test to ensure backport worked
mbauman May 15, 2018
57f742a
wrap range variable in a let block for at_threads (#24688)
vchuravy Nov 21, 2017
ec77c3d
Backport a few doc build updates for 0.6.3
mortenpi May 23, 2018
2583e04
Fix doctest in base/array.jl
mortenpi May 23, 2018
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
Prev Previous commit
Next Next commit
fix #26979, incorrect typeassert in deserialize
Ref #26986
(cherry picked from commit 901b240)
  • Loading branch information
JeffBezanson authored and ararslan committed May 27, 2018
commit 4c243bfbe0407ced5b4355082ce8758da7dfed6d
2 changes: 1 addition & 1 deletion base/serialize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ function deserialize(s::AbstractSerializer, ::Type{Method})
name = deserialize(s)::Symbol
file = deserialize(s)::Symbol
line = deserialize(s)::Int32
sig = deserialize(s)::DataType
sig = deserialize(s)::Type
sparam_syms = deserialize(s)::SimpleVector
ambig = deserialize(s)::Union{Array{Any,1}, Void}
nargs = deserialize(s)::Int32
Expand Down
13 changes: 13 additions & 0 deletions test/serialize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -478,3 +478,16 @@ let x = T20324[T20324(1) for i = 1:2]
@test isa(y,Vector{T20324})
@test y == x
end

# issue #26979
let io = IOBuffer()
function gen_f(a::T) where T
f = x -> T(x)
return f
end
f = gen_f(1f0)
serialize(io, f)
seekstart(io)
f2 = deserialize(io)
@test f2(1) === 1f0
end