-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: partially evaluate lambdas and segments
- Loading branch information
1 parent
10bed13
commit b44ab6b
Showing
4 changed files
with
28 additions
and
44 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
6 changes: 6 additions & 0 deletions
6
...ges/safe-ds-lang/tests/resources/partial evaluation/base cases/block lambdas/main.sdstest
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,6 @@ | ||
package tests.partialValidation.baseCases.expressionLambdas | ||
|
||
pipeline test { | ||
// $TEST$ serialization $ExpressionLambdaClosure | ||
»() -> 1«; | ||
} |
6 changes: 6 additions & 0 deletions
6
...afe-ds-lang/tests/resources/partial evaluation/base cases/expression lambdas/main.sdstest
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,6 @@ | ||
package tests.partialValidation.baseCases.blockLambdas | ||
|
||
pipeline test { | ||
// $TEST$ serialization $BlockLambdaClosure | ||
»() {}«; | ||
} |
4 changes: 4 additions & 0 deletions
4
packages/safe-ds-lang/tests/resources/partial evaluation/base cases/segments/main.sdstest
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,4 @@ | ||
package tests.partialValidation.baseCases.segments | ||
|
||
// $TEST$ serialization $SegmentClosure | ||
»segment mySegment() {}« |