Stephen Mallette created TINKERPOP-2953:
-------------------------------------------
Summary: 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
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)