mirror of
https://github.com/fluencelabs/aqua.git
synced 2025-03-15 19:50:51 +00:00
* Fix for export in headerless file * Ability arrow resolution bugfix * Trying to reproduce a bug * Allow dots in module declaration
23 lines
426 B
Plaintext
23 lines
426 B
Plaintext
-- import.aqua
|
|
module Import.Test
|
|
import foobar from "export.aqua"
|
|
|
|
use foo as f from "export.aqua" as Exp
|
|
|
|
use "export.aqua"
|
|
|
|
import "gen/OneMore.aqua"
|
|
|
|
import OneMore as OM from "gen/OneMore.aqua"
|
|
|
|
export foo_wrapper as wrap, foobar as barfoo
|
|
|
|
func foo_wrapper() -> string:
|
|
z <- Exp.f()
|
|
q <- Export.Test.bar()
|
|
OneMore "hello"
|
|
OneMore.more_call()
|
|
OM "ohmygod"
|
|
OM.more_call()
|
|
OM.consume(q)
|
|
<- z |