compiler: make DebugInfo.convertToManifest public

Allow to generate manifest when using compiler as a library.
This commit is contained in:
Evgenii Stratonikov 2020-07-23 17:01:51 +03:00
parent 7d8fead1fd
commit 04bf357fa5
3 changed files with 4 additions and 4 deletions

View file

@ -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")
}