mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 14:40:17 +00:00
fix compilation
This commit is contained in:
parent
d6cee82120
commit
cbd3d0063f
@ -117,15 +117,15 @@ func bugLNG258_3() -> i8, i8:
|
|||||||
ability TestAbWithClosure:
|
ability TestAbWithClosure:
|
||||||
arrow: -> i8
|
arrow: -> i8
|
||||||
|
|
||||||
func create(a: i8) -> TestAbWithClosure:
|
func createAb(a: i8) -> TestAbWithClosure:
|
||||||
closureArrow = () -> i8:
|
closureArrow = () -> i8:
|
||||||
<- a
|
<- a
|
||||||
ab = TestAbWithClosure(arrow = closureArrow)
|
ab = TestAbWithClosure(arrow = closureArrow)
|
||||||
<- ab
|
<- ab
|
||||||
|
|
||||||
func multipleAbilityWithClosure() -> i8, i8:
|
func multipleAbilityWithClosure() -> i8, i8:
|
||||||
ab <- create(1)
|
ab <- createAb(1)
|
||||||
ab2 <- create(2)
|
ab2 <- createAb(2)
|
||||||
<- ab.arrow(), ab2.arrow()
|
<- ab.arrow(), ab2.arrow()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user