Skip to content

Commit

Permalink
Fix the failed return value, which should still be null.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Nov 5, 2014
1 parent eb95b6e commit 1d763da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/Ruby.java
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ private ScriptAndCode tryCompile(Node node, JRubyClassLoader classLoader) {
LOG.error(e);
}
}
return new ScriptAndCode(null, null);
return null;
}
}

Expand Down

0 comments on commit 1d763da

Please sign in to comment.