Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format entire return type on the line #1181

Closed
1 of 3 tasks
nojaf opened this issue Oct 2, 2020 · 0 comments · Fixed by #1184
Closed
1 of 3 tasks

Format entire return type on the line #1181

nojaf opened this issue Oct 2, 2020 · 0 comments · Fixed by #1184

Comments

@nojaf
Copy link
Contributor

nojaf commented Oct 2, 2020

Issue created from fantomas-online

Code

namespace TypeEquality

[<RequireQualifiedAccess>]
module Teq =

    [<RequireQualifiedAccess>]
    module Cong =
        
        val domainOf<'domain1, 'domain2, 'range1, 'range2> : Teq<'domain1 -> 'range1, 'domain2 -> 'range2>
             -> Teq<'domain1, 'domain2>

Result

namespace TypeEquality

[<RequireQualifiedAccess>]
module Teq =

    [<RequireQualifiedAccess>]
    module Cong =

        val domainOf<'domain1, 'domain2, 'range1, 'range2> : Teq<'domain1 -> 'range1, 'domain2 -> 'range2>
             -> Teq<'domain1, 'domain2>

Problem description

        val domainOf<'domain1, 'domain2, 'range1, 'range2> : 
            Teq<'domain1 -> 'range1, 'domain2 -> 'range2> 
            -> Teq<'domain1, 'domain2>

would look nicer in this case.

//cc @Smaug123

Extra information

  • The formatted result breaks by code.
  • The formatted result gives compiler warnings.
  • I or my company would be willing to help fix this.

Options

Fantomas Master at 10/02/2020 09:38:04 - a241023

Default Fantomas configuration

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

Successfully merging a pull request may close this issue.

1 participant