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

14 lines
170 B
Plaintext
Raw Normal View History

2020-06-03 12:41:26 +02:00
let main =
2020-06-05 13:56:14 +02:00
(i: int) => {
let result = 0;
if(i == 2) {
let result = 42;
result
} else {
2020-06-03 12:41:26 +02:00
let result = 0;
2020-06-05 13:56:14 +02:00
result
}
};