Skip to content

Commit 5f5521a

Browse files
committed
added reference from RAP8 to RAP7
1 parent 738909c commit 5f5521a

File tree

1 file changed

+1
-1
lines changed
  • courses/RascalAmendmentProposals/RAP8

1 file changed

+1
-1
lines changed

courses/RascalAmendmentProposals/RAP8/RAP8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ As file locations, the `loc` type, in Rascal is highly prominent and these “po
4545
* The static type of the fork result is “list-of” the least upper bound of all static types of the append expressions in the fork block, i.e. `list[value]`.
4646
* The body of the fork statement is interpreted similar to a closure:
4747
* The body is the body of a closure with formal parameters all variables captured by the body.
48-
* All variables captured by the fork scope are **captured by-value**
48+
* All variables captured by the fork scope are **captured by-value**, or preferably we have applied ((RAP7)) already making all matched variables final already.
4949
* This includes lexically nested closures using variables from outer scopes\!
5050
* The closure returns the values provided by `append` statements
5151
* The closure returns `void` on `break` and `continue` statements

0 commit comments

Comments
 (0)