fix self_in_lambda.mligo

This commit is contained in:
Pierre-Emmanuel Wulfman 2020-02-27 12:04:53 +01:00
parent 5159f293f8
commit 6e35dadcc4

View File

@ -1,5 +1,6 @@
let foo (u: unit) : address =
Current.self_address
let main (ps: unit * address): (operation list * (unit -> address)) =
( ([] : operation list) , foo)
let main (ps: unit * address): (operation list * address) =
let dummy = foo() in
( ([] : operation list) , foo())