Skip to content


[Truffle] Dup String#b.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Dec 21, 2014
1 parent 766148d commit 0fe4091
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public BNode(BNode prev) {

public RubyString b(RubyString string) {
final ByteList bytes = string.getBytes();
final ByteList bytes = string.getBytes().dup();
return getContext().makeString(bytes);
Expand Down

0 comments on commit 0fe4091

Please sign in to comment.