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
baronfel opened this issue Oct 20, 2016 · 0 comments
Closed

Warn when literal attribute is used with lowercase name #356

baronfel opened this issue Oct 20, 2016 · 0 comments

Comments

@baronfel
Copy link
Contributor

baronfel commented Oct 20, 2016

Warn when literal attribute is used with lowercase name [6668206]

Submitted by Daniel Bradley on 11/5/2014 12:00:00 AM
8 votes on UserVoice prior to migration

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

Original UserVoice Submission
Archived Uservoice Comments

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

No branches or pull requests

1 participant