forked from TrueCloudLab/neoneo-go
compiler: add ability to emit package to debug info
Emit package information into MethodDebugInfo
This commit is contained in:
parent
c3a0998cae
commit
c2dccb6314
1 changed files with 5 additions and 2 deletions
|
@ -137,7 +137,10 @@ func (c *codegen) methodInfoFromScope(name string, scope *funcScope) *MethodDebu
|
|||
}
|
||||
return &MethodDebugInfo{
|
||||
ID: name,
|
||||
Name: DebugMethodName{Name: name},
|
||||
Name: DebugMethodName{
|
||||
Name: name,
|
||||
Namespace: scope.pkg.Name(),
|
||||
},
|
||||
IsExported: scope.decl.Name.IsExported(),
|
||||
Range: scope.rng,
|
||||
Parameters: params,
|
||||
|
|
Loading…
Reference in a new issue