Last active
August 29, 2015 14:21
-
-
Save usev6/d29f551093a704624663 to your computer and use it in GitHub Desktop.
Changes to src/core/Block.pm to make 'say { $^a }.assuming(123)()' work on JVM
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
diff --git a/src/core/Block.pm b/src/core/Block.pm | |
index 8e78e82..dbf937e 100644 | |
--- a/src/core/Block.pm | |
+++ b/src/core/Block.pm | |
@@ -36,6 +36,7 @@ my class Block { # declared in BOOTSTRAP | |
} | |
method assuming(Block:D $b: |curried) { | |
+ 1; | |
anon sub CURRIED (|direct) { | |
$b(|curried, |direct) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment