Skip to content

Commit

Permalink
Eliminates spurious reference to sink ctxt, closes #1223
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed May 29, 2019
1 parent 58b7cf1 commit 9f36dae
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions doc/Type/Block.pod6
Expand Up @@ -43,13 +43,14 @@ The last statement is the implicit return value of the block.
say {1}.(); # OUTPUT: «1␤»
Bare blocks in sink context are automatically executed:
Bare blocks are automatically executed in the order they appear:
say 1;
say 1; # OUTPUT: «1␤»
{
say 2; # executed directly, not a Block object
say 2; # OUTPUT: «2␤»; executed directly, not a Block object
}
say 3;
say 3; # OUTPUT: «3␤»
=end pod

Expand Down

0 comments on commit 9f36dae

Please sign in to comment.