1
0
mirror of https://github.com/fluencelabs/aqua-playground synced 2025-03-31 22:41:05 +00:00
2022-04-03 20:43:04 +03:00

18 lines
357 B
Plaintext

data NestedType:
val: string
data NestedStruct:
one: NestedType
service Test("service"):
test1() -> NestedStruct
test2(arg1: NestedType, arg2: string) -> NestedStruct
func test3() -> NestedType:
res <- Test.test1()
<- res.one
func test() -> NestedStruct:
struct <- test3()
res <- Test.test2(struct, struct.val)
<- res