From cbd3d0063f57446577ec278ba93d1b3db2e3408f Mon Sep 17 00:00:00 2001 From: DieMyst Date: Wed, 25 Oct 2023 18:12:20 +0700 Subject: [PATCH] fix compilation --- integration-tests/aqua/examples/abilities.aqua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration-tests/aqua/examples/abilities.aqua b/integration-tests/aqua/examples/abilities.aqua index 22111fc9..78a18ff6 100644 --- a/integration-tests/aqua/examples/abilities.aqua +++ b/integration-tests/aqua/examples/abilities.aqua @@ -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()