Created
August 26, 2017 10:29
-
-
Save timo/805ace7f4fbd7d88a596c8f4473adc2a 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/Rakudo/Iterator.pm b/src/core/Rakudo/Iterator.pm | |
index cf27db9..3cfd522 100644 | |
--- a/src/core/Rakudo/Iterator.pm | |
+++ b/src/core/Rakudo/Iterator.pm | |
@@ -3061,7 +3061,7 @@ class Rakudo::Iterator { | |
} | |
# Return an iterator that only will return the two given values. | |
- method TwoValues(\val1, \val2) { | |
+ method TwoValues(Mu \val1, Mu \val2) { | |
class :: does Iterator { | |
has Mu $!val1; | |
has Mu $!val2; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment