Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1b593504734f
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0144aa2db535
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Mar 12, 2015

  1. Copy the full SHA
    959e2bc View commit details
  2. Merge pull request #2686 from bjfish/truffle_array_clear_frozen

    [Truffle] Adding frozen check to Array#clear
    chrisseaton committed Mar 12, 2015
    Copy the full SHA
    0144aa2 View commit details
1 change: 0 additions & 1 deletion spec/truffle/tags/core/array/clear_tags.txt

This file was deleted.

Empty file.
Original file line number Diff line number Diff line change
@@ -483,7 +483,7 @@ public Object at(VirtualFrame frame, RubyArray array, int index) {

}

@CoreMethod(names = "clear")
@CoreMethod(names = "clear", raiseIfFrozenSelf = true)
public abstract static class ClearNode extends ArrayCoreMethodNode {

public ClearNode(RubyContext context, SourceSection sourceSection) {