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

Commits on Apr 16, 2017

  1. Copy the full SHA
    87c140d View commit details

Commits on Apr 18, 2017

  1. Merge pull request #4561 from etehtsea/fix-method-params

    Fix Method#parameters for a method generated by respond_to_missing?
    enebo authored Apr 18, 2017

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e70cf66 View commit details
1 change: 1 addition & 0 deletions core/src/main/java/org/jruby/RubyModule.java
Original file line number Diff line number Diff line change
@@ -1847,6 +1847,7 @@ public static class RespondToMissingMethod extends JavaMethod.JavaMethodNBlock {
public RespondToMissingMethod(RubyModule implClass, Visibility vis, String methodName) {
super(implClass, vis);

setParameterList(REST);
site = new FunctionalCachingCallSite(methodName);
}
@Override
Original file line number Diff line number Diff line change
@@ -53,6 +53,7 @@ public abstract class JavaMethod extends DynamicMethod implements Cloneable, Met
private static final String[] ONE_REQ = new String[] { "q" };
private static final String[] TWO_REQ = new String[] { "q", "q" };
private static final String[] THREE_REQ = new String[] { "q", "q", "q" };
protected static final String[] REST = new String[] { "r" };

public static final Class[][] METHODS = {
{JavaMethodZero.class, JavaMethodZeroOrOne.class, JavaMethodZeroOrOneOrTwo.class, JavaMethodZeroOrOneOrTwoOrThree.class},
1 change: 0 additions & 1 deletion spec/tags/ruby/core/method/parameters_tags.txt

This file was deleted.