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

Disable compiler warnings per line #214

Closed
baronfel opened this issue Oct 20, 2016 · 1 comment
Closed

Disable compiler warnings per line #214

baronfel opened this issue Oct 20, 2016 · 1 comment
Labels
area: diagnostics area: directives about hash-directives like #r, #nowarn, #time etc declined

Comments

@baronfel
Copy link
Contributor

baronfel commented Oct 20, 2016

Disable compiler warnings per line [5676502]

Submitted by Steven Taylor on 3/25/2014 12:00:00 AM
2 votes on UserVoice prior to migration

Over time, the value of warnings get noisy and their value goes down if there's not a simple way to partition them into "as intended" and "could be a problem" buckets. Also, it would be good to ignore the "as intended" ones (is there a better way to do this than introduce an ugly pragma?).
Example: a warning pops up such as "This construct causes code to be less generic than indicated by...", you investigate, and determine that this is intentional. Normally you would not allow the way the doSomething function works, but in this case it is succinct, and you think an okay way to proceed given <insert situation & context here> .

Response

** by fslang-admin on 2/3/2016 12:00:00 AM **

Close enough to being a duplicate of /archive/suggestion-6085102-allow-f-compiler-directives-like-nowarn-to-span (edit, this is now #278).

Original UserVoice Submission
Archived Uservoice Comments

@abelbraaksma
Copy link
Member

This was closed at the time in favor of #278

@abelbraaksma abelbraaksma closed this as not planned Won't fix, can't repro, duplicate, stale May 25, 2024
@abelbraaksma abelbraaksma added area: diagnostics area: directives about hash-directives like #r, #nowarn, #time etc labels May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: diagnostics area: directives about hash-directives like #r, #nowarn, #time etc declined
Projects
None yet
Development

No branches or pull requests

2 participants