Skip to content

Commit

Permalink
Whitelist exp.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Apr 15, 2020
1 parent 40fd538 commit 8915959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/irgen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct MethodSubstitutionWarning <: Exception
end
Base.showerror(io::IO, err::MethodSubstitutionWarning) =
print(io, "You called $(err.original), maybe you intended to call $(err.substitute) instead?")
const method_substitution_whitelist = [:hypot]
const method_substitution_whitelist = [:hypot, :exp]

mutable struct MethodCompileTracer
job::AbstractCompilerJob
Expand Down

0 comments on commit 8915959

Please sign in to comment.