mirror of
https://github.com/fluencelabs/aqua.git
synced 2025-03-15 03:30:49 +00:00
* Refactor parser * Savepoint * Refactor CliFunc and TypesInterpreter * Fix CliFunc * Fix parser tests * Fix tests compilation * Fix callArrowToRaw * Fix co parsing, add tests * Add par tests * Fix field parsing, add test * Return ability to CallArrowToken * Fix names * Refactor and add comments * Refactor, add comments * Fix
7 lines
129 B
Plaintext
7 lines
129 B
Plaintext
service Srv("srv"):
|
|
call(x: i32) -> i32
|
|
|
|
func main() -> i32:
|
|
arr = [1, 2, 3]
|
|
a <- Srv.call(0)
|
|
<- arr[Srv.call(1)] |