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
{{ message }}
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.
We use byte strings to initialize arrays of bytes. This works for things that can be represented by just strings, but what about more types like arrays of booleans or arrays of u8 for example?
Support this syntax for any type of array:
let a: [bool; 5] = [true, false, true, true, false];
let b: [u8; 5] = [0, 1, 2, 3, 4];
Implementation Notes
Add another literal type to scope item and implement this like a numeric literal or a byte literal.
The text was updated successfully, but these errors were encountered:
We use byte strings to initialize arrays of bytes. This works for things that can be represented by just strings, but what about more types like arrays of booleans or arrays of u8 for example?
Support this syntax for any type of array:
Implementation Notes
Add another literal type to scope item and implement this like a numeric literal or a byte literal.
The text was updated successfully, but these errors were encountered: