This website requires JavaScript.
Explore
Help
Sign In
AleoHQ
/
leo
Watch
1
Star
1
Fork
0
You've already forked leo
mirror of
https://github.com/AleoHQ/leo.git
synced
2024-12-25 18:42:26 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
8541eb3fb8
leo
/
compiler
/
tests
/
array
/
input_nested_3x2.leo
4 lines
75 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Fixes array indices for both nested and tuple cases
2020-09-03 12:40:50 +03:00
function main(a: [u8; (3, 2)]) {
support nested array type in leo inputs
2020-09-03 21:24:23 +03:00
console.assert(a == [[0u8; 2]; 3]);
Fixes array indices for both nested and tuple cases
2020-09-03 12:40:50 +03:00
}
Reference in New Issue
Copy Permalink