Skip to content

Make the single-line use of [<Literal>] consistent #409

@baronfel

Description

@baronfel

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.
img
Right now the consistent way to do things is always to use multiple lines, e.g.
img2
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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions