If a parameter has an argument label, the argument *must* be labeled when
you call the function.
Instead the shown error assumes the order is swapped because first argument
was unnamed. Should the former (from requirement) be shown as the error
here?
The error seems to arise from the requirement:
> If a parameter has an argument label, the argument must be labeled when you call the function.
Instead the shown error assumes the order is swapped because first argument was unnamed. Should the former (from requirement) be shown as the error here?
If a parameter has an argument label, the argument must be labeled when you call the function.
Instead the shown error assumes the order is swapped because first argument was unnamed. Should the former (from requirement) be shown as the error here?
Yeah, that would make much more sense. If you have a moment, would you be able to report this as a bug on bugs.swift.org <Issues · apple/swift · GitHub?