You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functionfoo(args...; kwargs...)
error("ExtX.jl not loaded")
end# In ExtX.jlfunctionfoo(a::Int, b::Char)
# do the correct thingend
Now this works, but let's say I did using X, DynamicExpressions; foo(1, 2) I will get an error "ExtX.jl not loaded" which is somewhat confusing because X.jl is already loaded. For quite a few of my packages the way I handle this is:
Currently the functions are written as:
Now this works, but let's say I did
using X, DynamicExpressions; foo(1, 2)
I will get an error"ExtX.jl not loaded"
which is somewhat confusing becauseX.jl
is already loaded. For quite a few of my packages the way I handle this is:This does cause a minor increase in invalidations, but julia compiles away the branch so there is no runtime cost
The text was updated successfully, but these errors were encountered: