Replies: 1 comment
-
I don't think this is a necessary limitation, but you could probably achieve the same effect with.
Though, I guess static overloading could choose the right one based off of number of parameters in this case, so the overloaded version would be slightly less verbose, although it could be confusing to readers to see a function called with different numbers of arguments without any clarification on what the difference is - but we have that with optional parameters anyways. @daanx Is there a reason we limited qualifiers in effect operations? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Example:
This won't compile:
However, this won't either:
Is this an inherent limitation of effect operations?
Beta Was this translation helpful? Give feedback.
All reactions