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.
()
| 913 | // |
| 914 | // Note: do not use this option unless absoluately necessary as it should be an uncommon feature. |
| 915 | func OverloadIsNonStrict() OverloadOpt { |
| 916 | return func(o *OverloadDecl) (*OverloadDecl, error) { |
| 917 | o.nonStrict = true |
| 918 | return o, nil |
| 919 | } |
| 920 | } |
| 921 | |
| 922 | // OverloadOperandTrait configures a set of traits which the first argument to the overload must implement in order to be |
| 923 | // successfully invoked. |
no outgoing calls