litao3rd commented on pull request #2315:
URL: https://github.com/apache/thrift/pull/2315#issuecomment-885459926


   hello, in the latest version of thrift golang library, when I compile gen-go 
code with go build, I got error like this
   ```text
   gen-go/package/XXXX.go:1353:11: cannot use temp (type Text) as type string 
in assignment
   gen-go/package/XXXX.go:3028:8: undefined: thrift.ResponseMeta
   gen-go/package/XXXX.go:3053:43: undefined: thrift.ResponseMeta
   gen-go/package/XXXX.go:3057:49: undefined: thrift.ResponseMeta
   gen-go/package/XXXX.go:3069:14: undefined: thrift.ResponseMeta
   gen-go/package/XXXX.go:3070:16: assignment mismatch: 2 variables but 
p.Client_().Call returns 1 values
   gen-go/package/XXXX.go:3092:15: undefined: thrift.ResponseMeta
   gen-go/package/XXXX.go:3093:17: assignment mismatch: 2 variables but 
p.Client_().Call returns 1 values
   gen-go/package/XXXX.go:3114:15: undefined: thrift.ResponseMeta
   gen-go/package/XXXX.go:3115:17: assignment mismatch: 2 variables but 
p.Client_().Call returns 1 values
   gen-go/package/XXXX.go:3115:17: too many errors
   ```
   
   It seems that when I install the library with command 
`github.com/apache/thrift/lib/go/thrift/...`, it installed with an old version 
code but not latest. The gen-codes were generated by thrift-0.14.2 which is 
latest version.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to