After I have moved from 0.6.3 to Julia 1.1 I get the
WARNING: eval into closed module Memoize: Expr(:const, Symbol("##A_memoized_cache") = Expr(:call, :IdDict)) ** incremental compilation may be broken for this module **
And indeed Julia now crashes on certain execution paths. There were no problems with Julia 0.6.3.
How can I avoid this behaviour?