[stdlib] Add comptime assert to tuple getitem#6442
Conversation
1c2fdc8 to
bce7697
Compare
NathanSWard
left a comment
There was a problem hiding this comment.
Thank you for catching this!
I'll add this internally but I believe you can use a t-string in the assert message to provide better error diagnostics :)
|
!sync |
Signed-off-by: martinvuyk <[email protected]>
bce7697 to
7cbe13f
Compare
|
@NathanSWard could you sync this again? I tried using the Indexer trait but it won't work, so I went back to using Int
Yeah I agree, I think we should revisit all other |
|
!sync |
|
Hi, 👍 (ping to @NathanSWard) |
Add comptime assert to tuple getitem. Caught by @gabrieldemarmiesse in a discord convo