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:
|
||||
arrow: -> i8
|
||||
|
||||
func create(a: i8) -> TestAbWithClosure:
|
||||
func createAb(a: i8) -> TestAbWithClosure:
|
||||
closureArrow = () -> i8:
|
||||
<- a
|
||||
ab = TestAbWithClosure(arrow = closureArrow)
|
||||
<- ab
|
||||
|
||||
func multipleAbilityWithClosure() -> i8, i8:
|
||||
ab <- create(1)
|
||||
ab2 <- create(2)
|
||||
ab <- createAb(1)
|
||||
ab2 <- createAb(2)
|
||||
<- ab.arrow(), ab2.arrow()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user