Re: [julia-users] 0.5rc4: TypeError: non-boolean (Bool) used in boolean context

2016-09-18 Thread Cedric St-Jean
Thank you, loading all the modules up-front solved the problem. I'm surprised that the compiler can make false assumptions about types without triggering segfaults left and right. On Sunday, September 18, 2016 at 6:51:22 PM UTC-4, Yichao Yu wrote: > > On Sun, Sep 18, 2016 at 6:29 PM, Cedric St-J

Re: [julia-users] 0.5rc4: TypeError: non-boolean (Bool) used in boolean context

2016-09-18 Thread Yichao Yu
On Sun, Sep 18, 2016 at 6:29 PM, Cedric St-Jean wrote: > I just updated my codebase to 0.5, and encountered a strange bug. I have two > tests, test 1 and 2, both wrapped in their own modules so as not to > interact. Both tests run fine from a fresh Julia session, but running test 1 > before test 2