[ 
https://issues.apache.org/jira/browse/TINKERPOP-2953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17742524#comment-17742524
 ] 

ASF GitHub Bot commented on TINKERPOP-2953:
-------------------------------------------

kenhuuu opened a new pull request, #2133:
URL: https://github.com/apache/tinkerpop/pull/2133

   Fixes https://issues.apache.org/jira/browse/TINKERPOP-2953
   
   The latest Groovy upgrade to 2.5.22 seems to have changed how enums are 
imported which led to the __ static methods which have the same name to not be 
found.
   
   Thanks to bmsq on Discord who suggested this fix.
   
   VOTE+1




> Static import for __.values() overriden by Column.values()
> ----------------------------------------------------------
>
>                 Key: TINKERPOP-2953
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2953
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: groovy
>    Affects Versions: 3.6.4
>            Reporter: Stephen Mallette
>            Assignee: Ken Hu
>            Priority: Blocker
>
> this has always been a problem:
> {code}
> gremlin> :> values()
> ==>keys
> ==>values
> {code}
> but now after latest groovy upgrade in 3.6.3 we also get:
> {code}
> gremlin> :> values("a")
> No signature of method: 
> org.apache.tinkerpop.gremlin.structure.Column$2.call() is applicable for 
> argument types: (String) values: [a]
> Possible solutions: wait(), name(), any(), wait(long), 
> tap(groovy.lang.Closure), each(groovy.lang.Closure)
> Type ':help' or ':h' for help.
> Display stack trace? [yN]
> {code}
> Recommended workaround would be to prefer use of the explicit {{__}} or 
> {{Column}} when there is potential for naming conflicts when using Groovy.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to