Skip to content

Commit

Permalink
Merge pull request #1 from timholy/teh/precompile
Browse files Browse the repository at this point in the history
Fix the precompiles on Julia 1.3+
  • Loading branch information
Daniel authored Feb 10, 2020
2 parents 57a39c2 + 0f140e0 commit e3861fe
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions src/TableReader.jl
Original file line number Diff line number Diff line change
Expand Up @@ -785,36 +785,33 @@ function _precompile_()
precompile(Tuple{typeof(TableReader.scanheader), TranscodingStreams.Memory, TableReader.LexerParameters})
precompile(Tuple{typeof(TableReader.bufferlines), TranscodingStreams.TranscodingStream{TranscodingStreams.Noop, Base.IOStream}})
precompile(Tuple{typeof(TableReader.checkformat), Base.IOStream})
precompile(Tuple{getfield(TableReader, Symbol("##24#29")), Base.Process})
precompile(Tuple{typeof(TableReader.checkformat), TranscodingStreams.TranscodingStream{TranscodingStreams.Noop, Base.IOStream}})
precompile(Tuple{typeof(TableReader.fillcolumn!), Array{Int64, 1}, Int64, TranscodingStreams.Memory, Array{TableReader.Token, 2}, Int64, UInt8})
precompile(Tuple{typeof(TableReader.skipcommentlines), TranscodingStreams.TranscodingStream{TranscodingStreams.Noop, Base.IOStream}, String})
precompile(Tuple{typeof(TableReader.readdlm_internal), TranscodingStreams.TranscodingStream{TranscodingStreams.Noop, Base.IOStream}, TableReader.LexerParameters})
precompile(Tuple{typeof(TableReader.skipblanklines), TranscodingStreams.TranscodingStream{TranscodingStreams.Noop, Base.IOStream}, Bool})
precompile(Tuple{typeof(TableReader.fillcolumn!), Array{Int64, 1}, Int64, TranscodingStreams.Memory, Array{TableReader.Token, 2}, Int64, UInt8})
precompile(Tuple{typeof(TableReader.checkformat), TranscodingStreams.TranscodingStream{TranscodingStreams.Noop, Base.IOStream}})
precompile(Tuple{typeof(TableReader.fillcolumn!), Array{Float64, 1}, Int64, TranscodingStreams.Memory, Array{TableReader.Token, 2}, Int64, UInt8})
precompile(Tuple{typeof(TableReader.readdlm_internal), TranscodingStreams.TranscodingStream{TranscodingStreams.Noop, Base.IOStream}, TableReader.LexerParameters})
precompile(Tuple{typeof(TableReader.qstring), TranscodingStreams.Memory, Int64, Int64, UInt8})
precompile(Tuple{typeof(TableReader.summarizecolumns), Array{TableReader.Token, 2}, Int64})
precompile(Tuple{typeof(TableReader.checkformat), TranscodingStreams.TranscodingStream{TranscodingStreams.Noop, Base.Process}})
precompile(Tuple{typeof(TableReader.guessdelimiter), TranscodingStreams.TranscodingStream{TranscodingStreams.Noop, Base.IOStream}, TableReader.LexerParameters})
precompile(Tuple{typeof(TableReader.wrapstream), Base.IOStream, TableReader.LexerParameters})
precompile(Tuple{typeof(TableReader.parse_date), Array{String, 1}})
precompile(Tuple{typeof(TableReader.parse_datetime), Array{String, 1}, Bool})
precompile(Tuple{typeof(TableReader.wrapstream), Base.Process, TableReader.LexerParameters})
precompile(Tuple{typeof(TableReader.wrapstream), Base.IOStream, TableReader.LexerParameters})
precompile(Tuple{typeof(TableReader.checkformat), Base.Process})
precompile(Tuple{getfield(TableReader, Symbol("##25#30")), Base.IOStream})
precompile(Tuple{typeof(TableReader.allocate!), TableReader.StringCache, Ptr{UInt8}, Int64})
precompile(Tuple{typeof(TableReader.is_datetime_like), Array{String, 1}})
precompile(Tuple{typeof(TableReader.fillcolumn!), Array{String, 1}, Int64, TranscodingStreams.Memory, Array{TableReader.Token, 2}, Int64, UInt8})
precompile(Tuple{typeof(TableReader.is_date_like), Array{String, 1}})
precompile(Tuple{typeof(TableReader.is_datetime_like), Array{String, 1}})
precompile(Tuple{typeof(TableReader.allocate!), TableReader.StringCache, Ptr{UInt8}, Int64})
precompile(Tuple{typeof(TableReader.wrapstream), Base.Process, TableReader.LexerParameters})
precompile(Tuple{typeof(TableReader.skip_unwanted_lines), TranscodingStreams.TranscodingStream{TranscodingStreams.Noop, Base.IOStream}, TableReader.LexerParameters})
precompile(Tuple{typeof(TableReader.countbytes), TranscodingStreams.Memory, UInt8})
isdefined(TableReader, Symbol("##readcsv#14")) && precompile(Tuple{getfield(TableReader, Symbol("##readcsv#14")), Char, Char, Bool, Bool, Int64, Bool, String, Nothing, Bool, Bool, Int64, Nothing, typeof(TableReader.readcsv), String})
precompile(Tuple{typeof(TableReader.parse_datetime), Array{Union{Base.Missing, String}, 1}, Bool})
precompile(Tuple{getfield(TableReader, Symbol("##readcsv#14")), Char, Char, Bool, Bool, Int64, Bool, String, Nothing, Bool, Bool, Int64, Nothing, typeof(TableReader.readcsv), String})
precompile(Tuple{typeof(TableReader.countbytes), TranscodingStreams.Memory, UInt8})
precompile(Tuple{typeof(TableReader.parse_date), Array{Union{Base.Missing, String}, 1}})
precompile(Tuple{typeof(TableReader.skiplines), TranscodingStreams.TranscodingStream{TranscodingStreams.Noop, Base.IOStream}, Int64})
precompile(Tuple{getfield(TableReader, Symbol("##readtsv#23")), Char, Char, Bool, Bool, Int64, Bool, String, Nothing, Bool, Bool, Int64, Nothing, typeof(TableReader.readtsv), String})
precompile(Tuple{typeof(TableReader.normalizename), String})
precompile(Tuple{getfield(TableReader, Symbol("##15#20")), Base.Process})
precompile(Tuple{getfield(TableReader, Symbol("##16#21")), Base.IOStream})
precompile(Tuple{typeof(TableReader.skiplines), TranscodingStreams.TranscodingStream{TranscodingStreams.Noop, Base.IOStream}, Int64})
isdefined(TableReader, Symbol("##readtsv#23")) && precompile(Tuple{getfield(TableReader, Symbol("##readtsv#23")), Char, Char, Bool, Bool, Int64, Bool, String, Nothing, Bool, Bool, Int64, Nothing, typeof(TableReader.readtsv), String})
precompile(Tuple{typeof(TableReader.readcsv), String})
precompile(Tuple{typeof(TableReader.readtsv), String})
end
Expand Down

0 comments on commit e3861fe

Please sign in to comment.