OperandTrait returns the trait mask of the first operand to the overload call, e.g. `traits.Indexer`
()
| 756 | // OperandTrait returns the trait mask of the first operand to the overload call, e.g. |
| 757 | // `traits.Indexer` |
| 758 | func (o *OverloadDecl) OperandTrait() int { |
| 759 | if o == nil { |
| 760 | return 0 |
| 761 | } |
| 762 | return o.operandTrait |
| 763 | } |
| 764 | |
| 765 | // ResultType indicates the output type from calling the function. |
| 766 | func (o *OverloadDecl) ResultType() *types.Type { |
no outgoing calls
no test coverage detected