ligo/src/test/contracts/closure.ligo

8 lines
190 B
Plaintext
Raw Normal View History

2019-05-13 00:56:22 +04:00
function toto (const i : int) : int is
block {
function tata (const j : int) : int is
i + j ;
function titi (const j : int) : int is
i + j ;
} with tata(i) + titi(i)