Merge pull request #1100 from nspcc-dev/neo3/compiler/dbgjson

compiler: update debug.json format
This commit is contained in:
Roman Khimov 2020-06-24 18:35:08 +03:00 committed by GitHub
commit 53f2e130c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 18 deletions

View file

@ -1442,7 +1442,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) {