Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.0
-
Fix Version/s: 1.7.1, 1.8-beta-1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
class Foo {
def foo(msg) {
}
}
def z = new Foo() {
def foo(Object msg) {
return super.foo(msg);
}
}
z.foo("42")
Caught: groovy.lang.MissingMethodException: No signature of method: test.foo() is applicable for argument types: (java.lang.String) values: [42]
Possible solutions: run(), run(), any(), any(groovy.lang.Closure), is(java.lang.Object), find(groovy.lang.Closure)
at test.this$dist$invoke$4(test.groovy)
at test$1.methodMissing(test.groovy)
at test$1.foo(test.groovy:9)
at test.run(test.groovy:14)
Activity
Roshan Dawrani
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Roshan Dawrani [ roshandawrani ] |
Roshan Dawrani
made changes -
| Fix Version/s | 1.8-beta-1 [ 16013 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 1.7.1 [ 16014 ] | |
| Resolution | Fixed [ 1 ] |
Paul King
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Fixed.