Parser actually adds interface behavior to interface

This commit is contained in:
Sasha Koshka 2022-08-24 00:52:37 -04:00
parent 39f8d7e4ac
commit 08935d69c0

View File

@ -60,6 +60,7 @@ func (parser *ParsingOperation) parseFaceSection () (
infoerr.ErrorKindError)
return
}
section.behaviors[behavior.name] = behavior
if err != nil { return }
}
@ -121,8 +122,8 @@ func (parser *ParsingOperation) parseFaceBehavior () (
behavior.inputs,
declaration)
} else {
behavior.inputs = append (
behavior.inputs,
behavior.outputs = append (
behavior.outputs,
declaration)
}
}