(trait int, arg ref.Val)
| 894 | } |
| 895 | |
| 896 | func matchOperandTrait(trait int, arg ref.Val) bool { |
| 897 | return trait == 0 || arg.Type().HasTrait(trait) || types.IsUnknownOrError(arg) |
| 898 | } |
| 899 | |
| 900 | // OverloadOpt is a functional option for configuring a function overload. |
| 901 | type OverloadOpt func(*OverloadDecl) (*OverloadDecl, error) |
no test coverage detected