Parser actually adds interface behavior to interface
This commit is contained in:
parent
39f8d7e4ac
commit
08935d69c0
@ -60,6 +60,7 @@ func (parser *ParsingOperation) parseFaceSection () (
|
|||||||
infoerr.ErrorKindError)
|
infoerr.ErrorKindError)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
section.behaviors[behavior.name] = behavior
|
||||||
|
|
||||||
if err != nil { return }
|
if err != nil { return }
|
||||||
}
|
}
|
||||||
@ -121,8 +122,8 @@ func (parser *ParsingOperation) parseFaceBehavior () (
|
|||||||
behavior.inputs,
|
behavior.inputs,
|
||||||
declaration)
|
declaration)
|
||||||
} else {
|
} else {
|
||||||
behavior.inputs = append (
|
behavior.outputs = append (
|
||||||
behavior.inputs,
|
behavior.outputs,
|
||||||
declaration)
|
declaration)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user