Skip to content

Commit a605a3d

Browse files
committed
fixup! Reland: Allow re-initialization and caching of foreign types (#47407)
1 parent 39d797b commit a605a3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datatype.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ JL_DLLEXPORT jl_typename_t *jl_new_typename_in(jl_sym_t *name, jl_module_t *modu
7272
jl_atomic_store_relaxed(&tn->cache, jl_emptysvec);
7373
jl_atomic_store_relaxed(&tn->linearcache, jl_emptysvec);
7474
tn->names = NULL;
75-
tn->hash = bitmix(bitmix(module ? module->build_id.lo : 0, name->hash), 0xa1ada1da);
75+
tn->hash = bitmix(bitmix(module ? module->build_id : 0, name->hash), 0xa1ada1da);
7676
tn->_reserved = 0;
7777
tn->abstract = abstract;
7878
tn->mutabl = mutabl;

0 commit comments

Comments
 (0)