Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

Return tuple components appearing as method parameters #72

Closed
vjosullivan opened this issue Oct 17, 2014 · 3 comments
Closed

Return tuple components appearing as method parameters #72

vjosullivan opened this issue Oct 17, 2014 · 3 comments
Labels

Comments

@vjosullivan
Copy link

In the example below, the variables product and max are being incorrectly document as method parameters.

    ///  <#Description#>
    ///
    ///  :param: a       <#a description#>
    ///  :param: b       <#b description#>
    ///  :param: c       <#c description#>
    ///  :param: product <#product description#>
    ///  :param: max     <#max description#>
    ///
    ///  :returns: <#return value description#>
    func makeTuple(a:Int, b:Int, c:Int) -> (sum:Int, product:Int, max:Int) {
            return (a + b + c, a * b * c, max(a, b, c))
    }

Regards,
Vince.

@onevcat onevcat added the bug label Oct 17, 2014
@onevcat
Copy link
Owner

onevcat commented Oct 17, 2014

I will take a look at it soon. Thanks for the feedback!

onevcat added a commit that referenced this issue Oct 23, 2014
onevcat added a commit that referenced this issue Oct 23, 2014
@onevcat onevcat mentioned this issue Oct 25, 2014
@onevcat
Copy link
Owner

onevcat commented Oct 25, 2014

Should be fixed in #75

@onevcat onevcat closed this as completed Oct 25, 2014
@vjosullivan
Copy link
Author

That works. Thanks, Vince.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants