Hi Joey, > It’s a bit ugly, but this should work: > > try > eval(Expr(:import, :ImageView)) > global view = ImageView.view > catch err > @show err > # fallback to nothing > global view = view(args...; kargs...) = (nothing, nothing) > end > > Unfortunately it doesn't work:
err => UndefVarError(:ImageView)
err => ErrorException("invalid redefinition of constant view")
Júlio.
