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: 7b1204e6e17f
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fe0eb3855c9e
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Aug 7, 2016

  1. Copy the full SHA
    88c9ca4 View commit details
  2. Copy the full SHA
    fe0eb38 View commit details
2 changes: 1 addition & 1 deletion spec/truffle/tags/core/enumerable/slice_when_tags.txt
Original file line number Diff line number Diff line change
@@ -2,4 +2,4 @@ fails:Enumerable#slice_when when given a block returns an enumerator
fails:Enumerable#slice_when when given a block splits chunks between adjacent elements i and j where the block returns true
fails:Enumerable#slice_when when given a block calls the block for length of the receiver enumerable minus one times
fails:Enumerable#slice_when when not given a block raises an ArgumentError
fails:when an iterator method yields more than one value processes all yielded values
fails:Enumerable#slice_when when an iterator method yields more than one value processes all yielded values
1 change: 1 addition & 0 deletions spec/truffle/tags/core/io/select_tags.txt
Original file line number Diff line number Diff line change
@@ -7,3 +7,4 @@ fails:IO.select returns supplied objects correctly even when monitoring the same
fails:IO.select invokes to_io on supplied objects that are not IO and returns the supplied objects
fails:IO.select when passed nil for timeout sleeps forever
fails:IO.select when passed nil for timeout sets the thread's status to 'sleep'
fails:IO.select when passed nil for timeout sleeps forever and sets the thread status to 'sleep'
Original file line number Diff line number Diff line change
@@ -1974,17 +1974,11 @@ public RubyNode visitMatch2Node(org.jruby.ast.Match2Node node) {
final NameEntry e = i.next();
final String name = new String(e.name, e.nameP, e.nameEnd - e.nameP, StandardCharsets.UTF_8).intern();

if (environment.hasOwnScopeForAssignments()) {
environment.declareVar(name);
} else {
TranslatorEnvironment environmentToDeclareIn = environment;

while (!environmentToDeclareIn.hasOwnScopeForAssignments()) {
environmentToDeclareIn = environmentToDeclareIn.getParent();
}

environmentToDeclareIn.declareVar(name);
TranslatorEnvironment environmentToDeclareIn = environment;
while (!environmentToDeclareIn.hasOwnScopeForAssignments()) {
environmentToDeclareIn = environmentToDeclareIn.getParent();
}
environmentToDeclareIn.declareVar(name);
}
}
}