Make the single-line use of [] consistent [7090326]
Submitted by Don Syme on 2/13/2015 12:00:00 AM
6 votes on UserVoice prior to migration
See dotnet/fsharp#229
Some declaration constructs allow attributes on the same line as the keyword for the declaration, e.g.
[<Measure>] type kg
[<Measure>] type m
However this doesn't work for "let" bindings, e.g.

Right now the consistent way to do things is always to use multiple lines, e.g.

The suggestion is to make this consistent by allowing single-line use everywhere, if that is technically possible.
Response
by fslang-admin on 2/5/2016 12:00:00 AM
Closing as this idea (listed by me) as it has little support
Original UserVoice Submission
Archived Uservoice Comments
Make the single-line use of [] consistent [7090326]
Submitted by Don Syme on 2/13/2015 12:00:00 AM
6 votes on UserVoice prior to migration
See dotnet/fsharp#229
Some declaration constructs allow attributes on the same line as the keyword for the declaration, e.g.
However this doesn't work for "let" bindings, e.g.


Right now the consistent way to do things is always to use multiple lines, e.g.
The suggestion is to make this consistent by allowing single-line use everywhere, if that is technically possible.
Response
by fslang-admin on 2/5/2016 12:00:00 AM
Original UserVoice Submission
Archived Uservoice Comments