Skip to content

Commit 511502c

Browse files
topolarityvtjnash
andauthored
Update src/precompile_utils.c
Co-authored-by: Jameson Nash <[email protected]>
1 parent b7b66e6 commit 511502c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/precompile_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ static void jl_compile_all_defs(jl_array_t *mis, int all)
171171
for (i = 0; i < l; i++) {
172172
jl_method_t *m = (jl_method_t*)jl_array_ptr_ref(allmeths, i);
173173
int is_macro_method = jl_symbol_name(m->name)[0] == '@';
174-
if (is_macro_method)
174+
if (is_macro_method && !all)
175175
continue; // Avoid inference / pre-compilation for macros
176176

177177
if (jl_is_datatype(m->sig) && jl_isa_compileable_sig((jl_tupletype_t*)m->sig, jl_emptysvec, m)) {

0 commit comments

Comments
 (0)