Argument labels before parameters in functions - possible bug in Swift Markup?
<p>I have the following function in a class:</p>

<pre><code>/// Returns the weather conditions at the given location.
/// - parameter for: A location on the Earth's surface.
/// - returns: If found, the `WeatherConditions` at the supplied location otherwise nil.
public func conditions(for location: Location) -&gt; WeatherConditions? {
    return nil  // The actual code is not important to the question.
}
</code></pre>

<p>which is called as follows <code>let myWeather = conditions(for: myLocation)</code>.</p>

<p>The code works fine, the question is about the documentation.  The image below is what is seen in the 'quick help' window for the <code>conditions</code> function.  Given that the user of the function must use the external argument label (<code>for</code>) and also that I have explicitly documented that label, shouldn't the parameters line in the quick help window read <code>Parameters for</code> and not <code>Parameters location</code>?</p>

<p>Is this a bug in Xcode or is there a reason the (internal) parameter name is displayed and not the external argument label?</p>

<p><a href="https://i.stack.imgur.com/hSKBW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hSKBW.png" alt="enter image description here"></a></p>