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

Warn when literal attribute is used with lowercase name #356

Closed
cloudRoutine opened this issue Oct 12, 2016 · 0 comments
Closed

Warn when literal attribute is used with lowercase name #356

cloudRoutine opened this issue Oct 12, 2016 · 0 comments

Comments

@cloudRoutine
Copy link
Owner

cloudRoutine commented Oct 12, 2016

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

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

No branches or pull requests

1 participant