Skip to content

Commit

Permalink
fixup! Reland: Allow re-initialization and caching of foreign types (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Dec 2, 2022
1 parent 39d797b commit a605a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datatype.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ JL_DLLEXPORT jl_typename_t *jl_new_typename_in(jl_sym_t *name, jl_module_t *modu
jl_atomic_store_relaxed(&tn->cache, jl_emptysvec);
jl_atomic_store_relaxed(&tn->linearcache, jl_emptysvec);
tn->names = NULL;
tn->hash = bitmix(bitmix(module ? module->build_id.lo : 0, name->hash), 0xa1ada1da);
tn->hash = bitmix(bitmix(module ? module->build_id : 0, name->hash), 0xa1ada1da);
tn->_reserved = 0;
tn->abstract = abstract;
tn->mutabl = mutabl;
Expand Down

0 comments on commit a605a3d

Please sign in to comment.