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-12-18 07:11:53 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
e9bc1159ff
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