That script keeps recursively reloading itself forever.

On Sat, Jan 2, 2016 at 11:58 AM, Kevin Squire <kevin.squ...@gmail.com>
wrote:

>
>
> Consider the following code which is in the file Foo.jl
>>
>> module Foo
>>
>>
>> function bar(x, y)
>>     x + y
>> end
>>
>>
>> end
>>
>> reload("Foo")
>>
>>
>> Then, at the REPL:
>>
>> julia> include("Foo.jl")
>>
>> Julia does not return. Can someone help me understand what is happening
>> here? Is the module being infinitely reloaded?
>>
>
> Yes, because of the reload at the end of the file.
>
> Can you explain what you're trying to do?
>
> Cheers,
>    Kevin
>
>
>

Reply via email to