Skip to content

Commit

Permalink
blacklist the problematic precompliation
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Feb 17, 2020
1 parent cc8b700 commit eb0fce7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/generate_precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ blacklist = [
"precompile(Tuple{typeof(Atom.wsicon),Module,Symbol,Any})"
"precompile(Tuple{typeof(Atom.wstype),Module,Symbol,Any})"
"precompile(Tuple{typeof(Base.Broadcast.broadcasted),Function,Array{Atom.GotoItem,1},Function})"
"precompile(Tuple{typeof(Base.allocatedinline),Type{Atom.GotoItem}})"
"precompile(Tuple{typeof(Media.render),Juno.Inline,Type})"
"precompile(Tuple{typeof(getfield′),Any,String,Atom.Undefined})"
"precompile(Tuple{typeof(getfield′),Any,String})"
Expand Down
2 changes: 1 addition & 1 deletion src/precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function _precompile_()
@assert precompile(Tuple{typeof(Base.Broadcast.materialize),Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{1},Nothing,typeof(|>),Tuple{Array{Atom.GotoItem,1},Base.RefValue{typeof(todict)}}}})
@assert precompile(Tuple{typeof(Base.Broadcast.restart_copyto_nonleaf!),Array{Union{Nothing, OutlineItem},1},Array{Nothing,1},Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{1},Tuple{Base.OneTo{Int64}},typeof(Atom.outlineitem),Tuple{Base.Broadcast.Extruded{Array{Atom.ToplevelItem,1},Tuple{Bool},Tuple{Int64}}}},OutlineItem,Int64,Base.OneTo{Int64},Int64,Int64})
@assert precompile(Tuple{typeof(Base._promote_typejoin),Type{Nothing},Type{OutlineItem}})
@assert precompile(Tuple{typeof(Base.allocatedinline),Type{Atom.GotoItem}})
# @assert precompile(Tuple{typeof(Base.allocatedinline),Type{Atom.GotoItem}})
@assert precompile(Tuple{typeof(Base.collect_to!),Array{Any,1},Base.Generator{Array{Any,1},typeof(Atom.renderMDinline)},Int64,Int64})
@assert precompile(Tuple{typeof(Base.collect_to!),Array{Hiccup.Node,1},Base.Generator{Array{Any,1},typeof(Atom.renderMD)},Int64,Int64})
@assert precompile(Tuple{typeof(Base.collect_to_with_first!),Array{Dict{Symbol,Any},1},Dict{Symbol,Any},Base.Generator{Array{DocSeeker.DocObj,1},typeof(Atom.renderitem)},Int64})
Expand Down

0 comments on commit eb0fce7

Please sign in to comment.