Skip to content

Instantly share code, notes, and snippets.

@usev6
Last active April 10, 2020 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save usev6/d36fc514eaef380f38d3ae35fd41e6fd to your computer and use it in GitHub Desktop.
Save usev6/d36fc514eaef380f38d3ae35fd41e6fd to your computer and use it in GitHub Desktop.
diff for R#2699
diff --git a/src/core.c/Any-iterable-methods.pm6 b/src/core.c/Any-iterable-methods.pm6
index 0256cf693..de7cd3a8c 100644
--- a/src/core.c/Any-iterable-methods.pm6
+++ b/src/core.c/Any-iterable-methods.pm6
@@ -52,7 +52,7 @@ Consider using a block if any of these are necessary for your mapping code."
nqp::stmts(
(&!block := block),
($!source := source),
- ($!label := label),
+ ($!label := nqp::decont(label)),
($!NEXT = block.has-phaser('NEXT')),
self
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment