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.
()
| 1009 | // |
| 1010 | // Note: do not use this option unless absoluately necessary as it should be an uncommon feature. |
| 1011 | func OverloadIsNonStrict() OverloadOpt { |
| 1012 | return func(o *OverloadDecl) (*OverloadDecl, error) { |
| 1013 | o.nonStrict = true |
| 1014 | return o, nil |
| 1015 | } |
| 1016 | } |
| 1017 | |
| 1018 | // OverloadOperandTrait configures a set of traits which the first argument to the overload must implement in order to be |
| 1019 | // successfully invoked. |
no outgoing calls