Skip to content

Warn when literal attribute is used with lowercase name #356

@cloudRoutine

Description

@cloudRoutine

Idea 6668206: Warn when literal attribute is used with lowercase name

Status : completed
Submitted by Daniel Bradley on 11/5/2014 12:00:00 AM
8 votes

The identifier of a literal must begin with an uppercase letter (as defined in 7.1 of the spec). If you assign the literal attribute with an identifier with lowercase first letter, it will ignore the literal attribute without any warning. Could we emit a warning when the literal attribute is not in effect due to the identifier used?

Response

** by fslang-admin on 6/23/2016 12:00:00 AM **

This is approved, for F# 4.x or later
Completed her:e dotnet/fsharp#666
Don Syme, F# Language Evolution
Archived Uservoice Comments

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions