We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f02535a commit fb8b5ebCopy full SHA for fb8b5eb
src/dump.c
@@ -2805,7 +2805,8 @@ JL_DLLEXPORT int jl_save_incremental(const char *fname, jl_array_t *worklist)
2805
for (i = 0; i < len; i++) {
2806
jl_module_t *m = (jl_module_t*)jl_array_ptr_ref(mod_array, i);
2807
assert(jl_is_module(m));
2808
- jl_collect_lambdas_from_mod(lambdas, m);
+ if (m->parent == m) // some toplevel modules (really just Base) aren't actually
2809
+ jl_collect_lambdas_from_mod(lambdas, m);
2810
}
2811
jl_collect_methtable_from_mod(lambdas, jl_type_type_mt);
2812
jl_collect_missing_backedges_to_mod(jl_type_type_mt);
0 commit comments