Skip to content

Commit

Permalink
workspace command: fix for missing incremental support
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash committed May 5, 2017
1 parent 9beece6 commit 9eca425
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/toplevel.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ JL_DLLEXPORT jl_module_t *jl_new_main_module(void)

jl_main_module = jl_new_module(jl_symbol("Main"));
jl_main_module->parent = jl_main_module;
if (old_main) // don't block continued loading of incremental caches
if (old_main) { // don't block continued loading of incremental caches
jl_main_module->primary_world = old_main->primary_world;
jl_main_module->uuid = old_main->uuid;
}
ptls->current_module = jl_main_module;

jl_core_module->parent = jl_main_module;
Expand Down

0 comments on commit 9eca425

Please sign in to comment.