You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This stems from a change introduced in #37163, where the definition of fieldtypes changed from being based on ntuple to a newly-introduced ntupleany. It was related to the Great Invalidation Hunt, but I cannot follow the discussion in that PR well enough to understand if this was an intended consequence.
Personally, when I use fieldtypes I'm wanting a compile-time constant that I can use to produce stable operations downstream. Currently, I must use the workaround of defining a fieldtypes_stable function using the old ntuple definition.
The text was updated successfully, but these errors were encountered:
Julia v1.7.0-rc3
The use of
fieldtypes
results in a type instability, inferring only toTuple
:This stems from a change introduced in #37163, where the definition of
fieldtypes
changed from being based onntuple
to a newly-introducedntupleany
. It was related to the Great Invalidation Hunt, but I cannot follow the discussion in that PR well enough to understand if this was an intended consequence.Personally, when I use
fieldtypes
I'm wanting a compile-time constant that I can use to produce stable operations downstream. Currently, I must use the workaround of defining afieldtypes_stable
function using the oldntuple
definition.The text was updated successfully, but these errors were encountered: