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 b1fbe7f commit 9e58d46Copy full SHA for 9e58d46
src/jlapi.c
@@ -506,7 +506,7 @@ static int exec_program(char *program)
506
int shown_err = 0;
507
jl_printf(JL_STDERR, "error during bootstrap:\n");
508
jl_value_t *exc = jl_current_exception();
509
- jl_value_t *showf = jl_get_function(jl_base_module, "show");
+ jl_value_t *showf = jl_base_module ? jl_get_function(jl_base_module, "show") : NULL;
510
if (showf) {
511
jl_value_t *errs = jl_stderr_obj();
512
if (errs) {
0 commit comments