Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Oct 21, 2024
1 parent 5cf51be commit 2edc907
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/gf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2565,8 +2565,12 @@ static void record_precompile_statement(jl_method_instance_t *mi, double compila
jl_printf(s_precompile, "precompile(");
jl_static_show(s_precompile, mi->specTypes);
jl_printf(s_precompile, ")");
if (is_recompile)
jl_printf(s_precompile, " # recompile\e[0m");
if (is_recompile) {
jl_printf(s_precompile, " # recompile");
if (s_precompile == JL_STDERR && jl_options.color != JL_OPTIONS_COLOR_OFF) {
jl_printf(s_precompile, "\e[0m");
}
}
jl_printf(s_precompile, "\n");
if (s_precompile != JL_STDERR)
ios_flush(&f_precompile);
Expand Down

0 comments on commit 2edc907

Please sign in to comment.