Skip to content

Commit

Permalink
Fix for e43 build
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-milles committed Jul 4, 2017
1 parent 4b2402f commit 40d8184
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
Expand Up @@ -971,11 +971,15 @@ public FieldBinding getField(char[] fieldName, boolean needResolve) {
return null;
}

// GROOVY start
// GROOVY add
// FIXASC (M3) is this the right approach to adding extra methods? Probably not - they should be forced on when created
public MethodBinding[] getAnyExtraMethods(char[] selector, TypeBinding[] argumentTypes) {
return (this.scope == null ? null : this.scope.getAnyExtraMethods(selector, argumentTypes));
}

public boolean isPrototype() {
return true;
}
// GROOVY end

// NOTE: the return type, arg & exception types of each method of a source type are resolved when needed
Expand Down
Expand Up @@ -986,11 +986,15 @@ public FieldBinding getField(char[] fieldName, boolean needResolve) {
return null;
}

// GROOVY start
// GROOVY add
// FIXASC (M3) is this the right approach to adding extra methods? Probably not - they should be forced on when created
public MethodBinding[] getAnyExtraMethods(char[] selector, TypeBinding[] argumentTypes) {
return (this.scope==null?null:this.scope.getAnyExtraMethods(selector, argumentTypes));
}

public boolean isPrototype() {
return true;
}
// GROOVY end

// NOTE: the return type, arg & exception types of each method of a source type are resolved when needed
Expand Down
Expand Up @@ -990,11 +990,15 @@ public FieldBinding getField(char[] fieldName, boolean needResolve) {
return null;
}

// GROOVY start
// GROOVY add
// FIXASC (M3) is this the right approach to adding extra methods? Probably not - they should be forced on when created
public MethodBinding[] getAnyExtraMethods(char[] selector, TypeBinding[] argumentTypes) {
return (this.scope==null?null:this.scope.getAnyExtraMethods(selector, argumentTypes));
}

public boolean isPrototype() {
return true;
}
// GROOVY end

// NOTE: the return type, arg & exception types of each method of a source type are resolved when needed
Expand Down

0 comments on commit 40d8184

Please sign in to comment.