diff --git a/src/test/contracts/recursion.religo b/src/test/contracts/recursion.religo index c75be3497..71f016962 100644 --- a/src/test/contracts/recursion.religo +++ b/src/test/contracts/recursion.religo @@ -1,5 +1,5 @@ // Test while loops in PascaLIGO -let rec fibo = (n : int, acc: int): int => +let rec fibo = ((n, acc) : (int,int)): int => if (n < 1) {acc;} - else {fibo (n-1,acc+n);}; + else {fibo ((n-1,acc+n));};