You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Yang Xia (Jira)" <ji...@apache.org> on 2023/09/27 19:25:00 UTC

[jira] [Updated] (TINKERPOP-2996) Golang Translator in core does not properly translate list arguments

     [ https://issues.apache.org/jira/browse/TINKERPOP-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yang Xia updated TINKERPOP-2996:
--------------------------------
    Issue Type: Improvement  (was: Task)

> 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: Improvement
>          Components: go
>    Affects Versions: 3.7.0, 3.5.7, 3.6.5
>            Reporter: Yang Xia
>            Priority: Major
>
> 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)