What happens if you use import instead is require?
On Tuesday, August 19, 2014, Júlio Hoffimann <[email protected]>
wrote:
> 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.
>