OperandTrait returns the trait mask of the first operand to the overload call, e.g. `traits.Indexer`
()
| 717 | // OperandTrait returns the trait mask of the first operand to the overload call, e.g. |
| 718 | // `traits.Indexer` |
| 719 | func (o *OverloadDecl) OperandTrait() int { |
| 720 | if o == nil { |
| 721 | return 0 |
| 722 | } |
| 723 | return o.operandTrait |
| 724 | } |
| 725 | |
| 726 | // ResultType indicates the output type from calling the function. |
| 727 | func (o *OverloadDecl) ResultType() *types.Type { |
no outgoing calls
no test coverage detected