Skip to content
Merged
Changes from 1 commit
Commits
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
8 changes: 8 additions & 0 deletions src/parcel_snoopi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,14 @@ function parcel(tinf::AbstractVector{Tuple{Float64,Core.MethodInstance}}; subst=
# Use special care with keyword functions, anonymous functions
p = tt.parameters[1] # the portion of the signature related to the function itself
paramrepr = map(T->reprcontext(topmod, T), Iterators.drop(tt.parameters, 1)) # all the rest of the args

# blacklist remover
for (iLine, line) in enumerate(pc[topmodname])
if any(occursin.(blacklist, line))
deleteat!(pc[topmodname], iLine)
end
end

if any(str->occursin('#', str), paramrepr)
@debug "Skipping $tt due to argument types having anonymous bindings"
continue
Expand Down