[jira] [Created] (GROOVY-8506) Possible solutions message for method pointer includes DGMs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (GROOVY-8506) Possible solutions message for method pointer includes DGMs

JIRA jira@apache.org
Eric Milles created GROOVY-8506:
-----------------------------------

             Summary: Possible solutions message for method pointer includes DGMs
                 Key: GROOVY-8506
                 URL: https://issues.apache.org/jira/browse/GROOVY-8506
             Project: Groovy
          Issue Type: Bug
            Reporter: Eric Milles


The error message for an invalid method pointer expression like {{Arrays.&xyz}} includes DGMs, which cannot satisfy a method pointer.

{code:java}
groovy.lang.MissingMethodException: No signature of method: java.util.Arrays.xyz() is applicable for argument types: (java.util.Date) values: [Mon Mar 12 15:22:27 UTC 2018]
Possible solutions: any(), any(groovy.lang.Closure), use([Ljava.lang.Object;), is(java.lang.Object), wait(), find()
        at Script1.run(Script1.groovy:2)
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)