Yang Xia created TINKERPOP-2996:
-----------------------------------

             Summary: Golang Translator in core does not properly translate 
list arguments
                 Key: TINKERPOP-2996
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2996
             Project: TinkerPop
          Issue Type: Task
          Components: go
    Affects Versions: 3.6.5, 3.5.7, 3.7.0
            Reporter: Yang Xia


Currently for the bytecode translatro in core, all list type arguments are 
translated as varargs for golang, instead of proper list type like 
[]interface{}{}.

Currently this is causing errors in certain translations, i.e. g.inject([1, 2]) 
is being translated to g.Inject(1, 2), but some investigation will be needed to 
tease apart cases that may need a varargs argument. 



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

Reply via email to