Re: [julia-users] Re-export variable define in __init__ of submodule with precompilation

2016-11-04 Thread Yichao Yu
On Fri, Nov 4, 2016 at 12:30 PM, Simon Byrne wrote: > How can I reexport a variable defined in the __init__ method of a > submodule, to play nice with precompilation. > > The following gives me a "WARNING: could not import Foo.bar into > TestExport": > > __precompile__() > module TestExport >

[julia-users] Re-export variable define in __init__ of submodule with precompilation

2016-11-04 Thread Simon Byrne
How can I reexport a variable defined in the __init__ method of a submodule, to play nice with precompilation. The following gives me a "WARNING: could not import Foo.bar into TestExport": __precompile__() module TestExport export bar module Foo export bar function __