Created
August 20, 2015 21:40
-
-
Save niner/c7137af6c613bdef985d to your computer and use it in GitHub Desktop.
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/Hash.pm b/src/core/Hash.pm | |
index 0fc44ad..8656943 100644 | |
--- a/src/core/Hash.pm | |
+++ b/src/core/Hash.pm | |
@@ -44,8 +44,8 @@ my class Hash { # declared in BOOTSTRAP | |
} | |
multi method perl(Hash:D \SELF:) { | |
- '$' x nqp::iscont(SELF) ~ | |
'{' ~ SELF.pairs.sort.map({.perl}).join(', ') ~ '}' | |
+ ~ '.item' x nqp::iscont(SELF) | |
} | |
multi method gist(Hash:D:) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment