Skip to content

Conversation

@nojaf
Copy link
Contributor

@nojaf nojaf commented Oct 14, 2022

It is interesting to know the location of a : as it can be the first token of a new line according to the style guide.

    let longFunctionWithLotsOfParametersAndReturnType
        (aVeryLongParam: AVeryLongTypeThatYouNeedToUse)
        (aSecondVeryLongParam: AVeryLongTypeThatYouNeedToUse)
        (aThirdVeryLongParam: AVeryLongTypeThatYouNeedToUse)
        : ReturnType = ...

@vzarytovskii vzarytovskii merged commit 20c7828 into dotnet:main Oct 17, 2022
@nojaf nojaf deleted the colon-trivia branch October 17, 2022 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants