This website requires JavaScript.
Explore
Help
Sign In
ProvableHQ
/
leo
Watch
1
Star
1
Fork
0
You've already forked leo
mirror of
https://github.com/ProvableHQ/leo.git
synced
2024-11-28 01:01:53 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
7f390d4d5c
leo
/
tests
/
compiler
/
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