leo/asg/tests/pass/mutability/function_input_mut.leo

6 lines
114 B
Plaintext
Raw Normal View History

2021-03-19 18:30:24 +03:00
// Function input are mutable by default.
function main(a: bool) {
2021-01-25 18:17:42 +03:00
a = true;
console.assert(a == true);
}