[ https://issues.apache.org/jira/browse/THRIFT-5002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duru Can Celasun resolved THRIFT-5002. -------------------------------------- Fix Version/s: 0.14.0 Resolution: Fixed > 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 > Fix For: 0.14.0 > > Time Spent: 20m > 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)