alibaba/IOC-golang
[Bug] iocli generate proxy method with '_' param causes compile bugs
开放
#116 创建于 2022年8月13日
buggood first issue
仓库指标
- 星标
- (1,230 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
As for method:
func (d *dynamicPluginServiceImpl) Update(_ context.Context){
}
the param is omited, but in zz_generated.ioc.go :
func (d *dynamicPluginServiceImpl_) Update(_ contextx.Context) {
return d.Update_(_, req) // compile error
}
The proxy struct stub param should not include omited param, and should generated a new var. Although it's useless.