Skip to content

Commit

Permalink
Note parameters (#677)
Browse files Browse the repository at this point in the history
I'm not sure why this was still TODO, but this fixes the bidirectional
tests.
  • Loading branch information
serkm authored Nov 7, 2024
1 parent 6050bcf commit 26e09b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions effekt/jvm/src/test/scala/effekt/LLVMTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ class LLVMTests extends EffektTests {
examplesDir / "pos" / "capture" / "resources.effekt",
examplesDir / "pos" / "io",

// Bidirectional effects are still a bit buggy
examplesDir / "pos" / "bidirectional" / "pingpong.effekt",
examplesDir / "pos" / "bidirectional" / "scheduler.effekt",

// first class functions closing over capabilities
examplesDir / "pos" / "capture" / "state_eff.effekt",

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ object Transformer {
op match {
// No continuation, implementation of an object
case core.Operation(name, tparams, cparams, vparams, bparams, body) =>
// TODO note block parameters
noteParameters(bparams)
Clause(vparams.map(transform) ++ bparams.map(transform), transform(body))
}

Expand Down

0 comments on commit 26e09b2

Please sign in to comment.