leo/tests/pass/parse/tuples/nested_access.leo
2021-03-03 09:59:24 -08:00

8 lines
174 B
Plaintext

function main() {
let a = (true, false);
let b = (true, a);
console.assert(b.0 == true);
console.assert(b.1.0 == true);
console.assert(b.1.1 == false);
}