[Feature Request] [stdlib] Make Tuple conform to CollectionElement
trait again or fix Optional to take in Movable
#2708
Labels
CollectionElement
trait again or fix Optional to take in Movable
#2708
Review Mojo's priorities
What is your request?
Implement its
__copyinit__
or make Optional accept__moveinit__
as wellWhat is your motivation for this change?
Error:
'Optional' parameter #0 has 'CollectionElement' type, but value has type 'AnyStruct[Tuple[SIMD[uint16, 1], SIMD[uint8, 1], SIMD[uint8, 1], SIMD[uint8, 1], SIMD[uint8, 1], SIMD[uint8, 1], SIMD[uint16, 1], SIMD[uint16, 1], SIMD[uint16, 1]]]'
Any other details?
@ConnorGray this commit changed it
The text was updated successfully, but these errors were encountered: