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

Indentation of new lines should be dependent on the *start* of the previous line, not the end of it #433

Closed
baronfel opened this issue Oct 20, 2016 · 1 comment
Labels

Comments

@baronfel
Copy link
Contributor

baronfel commented Oct 20, 2016

Indentation of new lines should be dependent on the start of the previous line, not the end of it [7813977]

Submitted by George on 5/4/2015 12:00:00 AM
10 votes on UserVoice prior to migration

The following layout requires that content after the 'View<' be indented beyond the endding '<' on the following lines which makes the level of indentation dependent on the type name. Which is silly.
[]
type View<
'Events,
'Window when
'Window :> Window and
'Window : (new : unit -> 'Window)

(?window) =
let window = defaultArg window (new 'Window())
member this.Window = window

Response

** by fslang-admin on 2/3/2016 12:00:00 AM **

Closing in favour of /archive/suggestion-9156844-relax-some-of-the-indentation-rules and linking back here

Original UserVoice Submission
Archived Uservoice Comments

@smoothdeveloper
Copy link
Contributor

This was closed in favor of #470

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

No branches or pull requests

2 participants