From 9f36dae596fb672b1eb8b5901a1c99a5cc9b4567 Mon Sep 17 00:00:00 2001 From: JJ Merelo Date: Wed, 29 May 2019 19:20:11 +0200 Subject: [PATCH] Eliminates spurious reference to sink ctxt, closes #1223 --- doc/Type/Block.pod6 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/Type/Block.pod6 b/doc/Type/Block.pod6 index 33f69ad72..02213ecca 100644 --- a/doc/Type/Block.pod6 +++ b/doc/Type/Block.pod6 @@ -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