fix compilation

This commit is contained in:
DieMyst 2023-10-25 18:04:20 +07:00
parent a7cd90f589
commit d6cee82120

View File

@ -114,13 +114,13 @@ func bugLNG258_3() -> i8, i8:
res1, res2 <- aB.inner.arrow() res1, res2 <- aB.inner.arrow()
<- res1, res2 <- res1, res2
ability TestAb: ability TestAbWithClosure:
arrow: -> i8 arrow: -> i8
func create(a: i8) -> TestAb: func create(a: i8) -> TestAbWithClosure:
closureArrow = () -> i8: closureArrow = () -> i8:
<- a <- a
ab = TestAb(arrow = closureArrow) ab = TestAbWithClosure(arrow = closureArrow)
<- ab <- ab
func multipleAbilityWithClosure() -> i8, i8: func multipleAbilityWithClosure() -> i8, i8: