compiler: emit debug variable info for init()

This commit is contained in:
Evgeniy Stratonikov 2021-05-12 15:08:22 +03:00
parent 7afca7f8e5
commit b72f6be9e9
3 changed files with 18 additions and 1 deletions

View file

@ -138,6 +138,7 @@ func (c *codegen) emitDebugInfo(contract []byte) *DebugInfo {
ReturnType: "Void",
ReturnTypeSC: smartcontract.VoidType,
SeqPoints: c.sequencePoints["init"],
Variables: c.initVariables,
})
}
if c.deployEndOffset >= 0 {