ligo/src/test/contracts/expected/condition-shadowing.religo.expected

13 lines
146 B
Plaintext
Raw Normal View History

let main = (i: int) => {
let result = 0;
2020-06-08 15:24:36 +02:00
if (i == 2) {
let result = 42;
result
} else {
2020-06-05 13:56:14 +02:00
let result = 0;
result
}
};