alibaba/IOC-golang
[Bug] iocli generate proxy method with '_' param causes compile bugs
オープン
#116 opened on 2022/08/13
buggood first issue
Repository metrics
- Stars
- (1,230 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
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.