OverloadIsNonStrict enables the function to be called with error and unknown argument values. Note: do not use this option unless absoluately necessary as it should be an uncommon feature.
()
| 1097 | // |
| 1098 | // Note: do not use this option unless absoluately necessary as it should be an uncommon feature. |
| 1099 | func OverloadIsNonStrict() OverloadOpt { |
| 1100 | return func(o *OverloadDecl) (*OverloadDecl, error) { |
| 1101 | o.nonStrict = true |
| 1102 | return o, nil |
| 1103 | } |
| 1104 | } |
| 1105 | |
| 1106 | // OverloadOperandTrait configures a set of traits which the first argument to the overload must implement in order to be |
| 1107 | // successfully invoked. |
no outgoing calls