alibaba/IOC-golang
[Bug] iocli generate proxy method with '_' param causes compile bugs
Aperta
#116 aperta il 13 ago 2022
buggood first issue
Metriche repository
- Star
- (1230 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
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.