From a4c17b8e53458d33fe674ad57f2d95a6124795fd Mon Sep 17 00:00:00 2001 From: Mike J Innes Date: Tue, 17 May 2016 13:37:53 +0100 Subject: [PATCH] fix #22 --- src/require.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/require.jl b/src/require.jl index 9b5d807..0ee5147 100644 --- a/src/require.jl +++ b/src/require.jl @@ -7,8 +7,8 @@ type Hook end @init @guard begin methods(require).mt.cache.sig = Tuple{typeof(require),Symbol,Hook} function Base.require(mod::Symbol) - eval(:require)(mod, Requires.Hook()) - Requires.loadmod(string(mod)) + eval(:require)(mod, Main.Requires.Hook()) + Main.Requires.loadmod(string(mod)) end end