alibaba/IOC-golang
[Bug] iocli generate proxy method with '_' param causes compile bugs
Aberta
#116 aberto em 13 de ago. de 2022
buggood first issue
Métricas do repositório
- Stars
- (1.230 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
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.