[ https://issues.apache.org/jira/browse/THRIFT-5002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16970684#comment-16970684 ]
John Boiles commented on THRIFT-5002: ------------------------------------- Patch submitted here: https://github.com/apache/thrift/pull/1925 > Golang: remote client fails to compile when extending services > -------------------------------------------------------------- > > Key: THRIFT-5002 > URL: https://issues.apache.org/jira/browse/THRIFT-5002 > Project: Thrift > Issue Type: Task > Components: Go - Compiler > Affects Versions: 0.13.0 > Reporter: John Boiles > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > For example, for this test case (also available in > [github.com/johnboiles/golang-fix-container-struct-remote|https://github.com/johnboiles/thrift/tree/golang-fix-container-struct-remote]) > {code} > service container_test_base { > void setfunc(1: set<i32> s) > } > service container_test extends container_test_base { > } > {code} > This error occurs when compiling the Go code > {code} > gopath/src/servicestest/container_test-remote/container_test-remote.go:163:25: > undefined: servicestest.NewContainerTestSetfuncArgs > {code} > That is because there is no generated code for > {{NewContainerTestSetfuncArgs}} but instead only > {{NewContainerTestBaseSetfuncArgs}}. We should probably fix this either by > also generating {{NewContainerTestSetfuncArgs}} or using > {{NewContainerTestBaseSetfuncArgs}} from the remote client for the derived > service. -- This message was sent by Atlassian Jira (v8.3.4#803005)