-
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.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
9 changed files
with
66 additions
and
7 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 |
---|---|---|
|
@@ -29,4 +29,4 @@ jobs: | |
apps: sbt | ||
|
||
- name: Run tests | ||
run: sbt test | ||
run: env JAVA_OPTS="-Xmx4G" sbt test |
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 |
---|---|---|
@@ -1,3 +1,23 @@ | ||
func arr() -> string: | ||
n = "str" | ||
<- n | ||
aqua M | ||
|
||
export bugLng314 | ||
|
||
ability WorkerJob: | ||
runOnSingleWorker(w: string) -> string | ||
|
||
func disjoint_run{WorkerJob}() -> -> string: | ||
run = func () -> string: | ||
r <- WorkerJob.runOnSingleWorker() | ||
<- r | ||
<- run | ||
|
||
func runJob(j: -> string) -> string: | ||
<- j() | ||
|
||
func bugLng314() -> string: | ||
job2 = () -> string: | ||
<- "strstrstr" | ||
worker_job = WorkerJob(runOnSingleWorker = job2) | ||
subnet_job <- disjoint_run{worker_job}() | ||
res <- runJob(subnet_job) | ||
<- res |
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 @@ | ||
aqua M | ||
|
||
export bugLNG314 | ||
|
||
ability WorkerJob: | ||
runOnSingleWorker(w: string) -> string | ||
|
||
func disjoint_run{WorkerJob}() -> -> string: | ||
run = func () -> string: | ||
r <- WorkerJob.runOnSingleWorker() | ||
<- r | ||
<- run | ||
|
||
func runJob(j: -> string) -> string: | ||
<- j() | ||
|
||
func bugLNG314() -> string: | ||
job2 = () -> string: | ||
<- "strstrstr" | ||
worker_job = WorkerJob(runOnSingleWorker = job2) | ||
subnet_job <- disjoint_run{worker_job}() | ||
res <- runJob(subnet_job) | ||
<- res |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { | ||
bugLNG314 | ||
} from "../compiled/examples/abilitiesClosure.js"; | ||
|
||
export async function bugLNG314Call(): Promise<string> { | ||
return await bugLNG314(); | ||
} |
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