Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2996

Golang Translator in core does not properly translate list arguments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.7.0, 3.5.7, 3.6.5
    • 3.6.6, 3.7.1, 4.0.0
    • go
    • None

    Description

      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. 

      Attachments

        Activity

          People

            valentyn Valentyn Kahamlyk
            xiazcy Yang Xia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: