Dear all,

Consider the following code:

try
    require("ImageView")
    global view = ImageView.view
catch err
    @show err
    # fallback to nothing
    global view = view(args...; kargs...) = (nothing, nothing)
end

I have ImageView installed, but the catch block is executed with err =>
UndefVarError(:ImageView). The symbol ImageView isn't visible somehow. How
to fix the error?

Best,
Júlio.

Reply via email to