Skip to content

Commit

Permalink
Merge pull request #80 from jebej/nospec
Browse files Browse the repository at this point in the history
add `@nospecialize` annotations
  • Loading branch information
daschw authored Feb 9, 2021
2 parents c3ddee4 + ee958b4 commit a1fd022
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RecipesPipeline/src/api.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
Warn if an alias is dedected in `plotattributes` after a recipe of type `recipe_type` is
applied to 'args'. `recipe_type` is either `:user`, `:type`, `:plot` or `:series`.
"""
function warn_on_recipe_aliases!(plt, plotattributes::AKW, recipe_type::Symbol, args) end
function warn_on_recipe_aliases!(plt, v::AbstractVector, recipe_type::Symbol, args)
function warn_on_recipe_aliases!(plt, plotattributes::AKW, recipe_type::Symbol, @nospecialize(args)) end
function warn_on_recipe_aliases!(plt, v::AbstractVector, recipe_type::Symbol, @nospecialize(args))
for x in v
warn_on_recipe_aliases!(plt, x, recipe_type, args)
end
end
function warn_on_recipe_aliases!(plt, rd::RecipeData, recipe_type::Symbol, args)
function warn_on_recipe_aliases!(plt, rd::RecipeData, recipe_type::Symbol, @nospecialize(args))
warn_on_recipe_aliases!(plt, rd.plotattributes, recipe_type, args)
end

Expand Down

0 comments on commit a1fd022

Please sign in to comment.