-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix for export in headerless file * Ability arrow resolution bugfix * Trying to reproduce a bug * Allow dots in module declaration
- Loading branch information
Showing
9 changed files
with
84 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
module Export.Test declares foobar, foo, bar | ||
|
||
func bar() -> string: | ||
<- " I am MyFooBar bar" | ||
|
||
func foo() -> string: | ||
<- "I am MyFooBar foo" | ||
|
||
func foobar() -> []string: | ||
res: *string | ||
res <- foo() | ||
res <- bar() | ||
<- res | ||
|
||
service ExpSrv: | ||
baz() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
service OneMore: | ||
more_call() | ||
consume(s: string) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters