compiler: make DebugInfo.convertToManifest public
Allow to generate manifest when using compiler as a library.
This commit is contained in:
parent
7d8fead1fd
commit
04bf357fa5
3 changed files with 4 additions and 4 deletions
|
@ -134,7 +134,7 @@ func CompileAndSave(src string, o *Options) ([]byte, error) {
|
|||
}
|
||||
|
||||
if o.ManifestFile != "" {
|
||||
m, err := di.convertToManifest(o.ContractFeatures)
|
||||
m, err := di.ConvertToManifest(o.ContractFeatures)
|
||||
if err != nil {
|
||||
return b, errors.Wrap(err, "failed to convert debug info to manifest")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue