parent
9d675f6e56
commit
4d07d72677
4 changed files with 17 additions and 8 deletions
|
@ -1424,7 +1424,7 @@ func CodeGen(info *buildInfo) ([]byte, *DebugInfo, error) {
|
|||
if err := c.writeJumps(buf); err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
return buf, c.emitDebugInfo(), nil
|
||||
return buf, c.emitDebugInfo(buf), nil
|
||||
}
|
||||
|
||||
func (c *codegen) resolveFuncDecls(f *ast.File, pkg *types.Package) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue