julia icon indicating copy to clipboard operation
julia copied to clipboard

slightly better type inference for `reverse(::NTuple)`

Open nsajko opened this issue 1 year ago • 17 comments

Just adds an ::NTuple type assertion to the result.

Before the return type of reverse(::NTuple) inferred as Tuple, now it's more precise, inferring as NTuple.

This is a partial reland of #55124 and partial revert of #55375.

Updates #54495

nsajko avatar Aug 06 '24 13:08 nsajko