Non-functional property interfaces now have breathing room.

This commit is contained in:
Cory Slep 2019-01-07 21:26:04 +01:00
parent e8fb31437e
commit b7ec140c66

View file

@ -154,7 +154,7 @@ func (c Converter) convertToFiles(v vocabulary) (f []*File, e error) {
pub := pm.PublicPackage()
file = jen.NewFilePath(pub.Path())
for _, intf := range i.InterfaceDefinitions(pm.PublicPackage()) {
file.Add(intf.Definition())
file.Add(intf.Definition()).Line()
}
f = append(f, &File{
F: file,