Skip to content

Commit

Permalink
Make type of PartialStruct's typ field more precise (#44422)
Browse files Browse the repository at this point in the history
Just a bit more precision in preparation of some further
work speeding up inference hot paths.
  • Loading branch information
Keno committed Mar 3, 2022
1 parent b4ea0f7 commit 694110d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jltypes.c
Original file line number Diff line number Diff line change
Expand Up @@ -2539,7 +2539,7 @@ void jl_init_types(void) JL_GC_DISABLED

jl_partial_struct_type = jl_new_datatype(jl_symbol("PartialStruct"), core, jl_any_type, jl_emptysvec,
jl_perm_symsvec(2, "typ", "fields"),
jl_svec2(jl_any_type, jl_array_any_type),
jl_svec2(jl_datatype_type, jl_array_any_type),
jl_emptysvec, 0, 0, 2);

jl_interconditional_type = jl_new_datatype(jl_symbol("InterConditional"), core, jl_any_type, jl_emptysvec,
Expand Down

0 comments on commit 694110d

Please sign in to comment.