Skip to content

Commit

Permalink
Have Cool.chomp return a proper Str.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Aug 31, 2010
1 parent f8e959c commit 2ac5feb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/Cool-str.pm
Expand Up @@ -28,7 +28,8 @@ augment class Cool {
unless $I0 == 13 goto done
$S0 = chopn $S0, 1
done:
%r = box $S0
%r = new ['Str']
assign %r, $S0
}
}

Expand Down

0 comments on commit 2ac5feb

Please sign in to comment.