Skip to content

Commit

Permalink
Fix my botched conversion of Array#join for recur check.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Dec 3, 2016
1 parent 4e4935e commit 82d3cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyArray.java
Expand Up @@ -1909,7 +1909,7 @@ private void recursiveJoin(final ThreadContext context, final IRubyObject outVal

if (ary == this) throw runtime.newArgumentError("recursive array join");

context.safeRecurse(JOIN_RECURSIVE, new JoinRecursive.State(ary, outValue, sep, result), this, "join", true);
context.safeRecurse(JOIN_RECURSIVE, new JoinRecursive.State(ary, outValue, sep, result), outValue, "join", true);
}

/** rb_ary_join
Expand Down

0 comments on commit 82d3cf0

Please sign in to comment.