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

Commits on Mar 12, 2015

  1. [Truffle] Fixed a typo.

    nirvdrum committed Mar 12, 2015
    Copy the full SHA
    e3d1231 View commit details
  2. Copy the full SHA
    1b59350 View commit details
Showing with 2 additions and 1 deletion.
  1. +2 −1 truffle/src/main/java/org/jruby/truffle/translator/BodyTranslator.java
Original file line number Diff line number Diff line change
@@ -1310,6 +1310,7 @@ private void initReadOnlyGlobalVariables() {
s.add("$-a");
s.add("$-l");
s.add("$-p");
s.add("$!");
}

private void initGlobalVariableAliases() {
@@ -1379,7 +1380,7 @@ public RubyNode translateGlobalAsgnNode(org.jruby.ast.GlobalAsgnNode node, RubyN
localVarNode = environment.findLocalVarNode(node.getName(), sourceSection);

if (localVarNode == null) {
throw new RuntimeException("shoudln't be here");
throw new RuntimeException("shouldn't be here");
}
}