Skip to content
Permalink
Browse files

Fix issue with "u"

Caused by running value() in a scope that didn't have a valid $/
  • Loading branch information...
lizmat committed Apr 9, 2019
1 parent 7450538 commit d000a12557ae78aaf2f1f48a003263ddfd664284
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Rakudo/Internals/Sprintf.pm6
@@ -250,7 +250,7 @@ class Rakudo::Internals::Sprintf {
method directive:sym<u>($/ --> Nil) {

# handle unsigned check
my str $value = "unsigned-int({value($/)})";
my str $value = "unsigned-int(" ~ value($/) ~ ")";

# handle zero padding / left / right justification
if +$<size> -> $size {

0 comments on commit d000a12

Please sign in to comment.
You can’t perform that action at this time.