Add loop operator in fcode

This commit is contained in:
radrow
2022-07-02 21:53:42 +02:00
parent 7b8957b46a
commit 62a0ff2e4c
4 changed files with 98 additions and 92 deletions
+2 -9
View File
@@ -1,12 +1,5 @@
// This is a custom test file if you need to run a compiler without
// changing aeso_compiler_tests.erl
include "List.aes"
contract IntegerHolder =
type state = int
entrypoint init(x) = x
entrypoint get() = state
main contract Test =
stateful entrypoint f(c) = Chain.clone(ref=c, 123)
contract C =
entrypoint test() = [1..5]