mirror of
https://github.com/fluencelabs/aqua.git
synced 2025-03-15 19:50:51 +00:00
* Introducing Product type * Main codebase compiles with Arrow(domain, codomain) * Tests compile * Tests passed * Tiny fixes: use argument labels in js/ts generators * Fix for return type in .ts * Typescript fix * Fix for option return in JS * Arrow variance fix * separated CompareTypes * Added deprecation notices to ArrowType functions * Compile error fixed * Types doc comments * Multi-value return is supported in the model * Tests compilation fixes wip * Test compiles * Bugfix * Bugfix
16 lines
352 B
Plaintext
16 lines
352 B
Plaintext
data DT:
|
|
field: string
|
|
|
|
service DTGetter("get-dt"):
|
|
get_dt(s: string) -> DT
|
|
|
|
func use_name1(name: string) -> string:
|
|
results <- DTGetter.get_dt(name)
|
|
<- results.field
|
|
|
|
func use_name2(name: string) -> []string:
|
|
results: *string
|
|
results <- use_name1(name)
|
|
results <- use_name1(name)
|
|
results <- use_name1(name)
|
|
<- results |