spec: should len(a)
(and cap(a)
) be constant for a
of type parameter type constrained by same-size arrays?
#50226
Labels
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
Reminder issue to consider this case. See also #42029 for background.
This can wait for 1.19 as going from a non-constant to a constant result for
len
andcap
is a backward-compatible change (I think, since the type doesn't change, it's alwaysint
).The text was updated successfully, but these errors were encountered: