-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Confusing use of "default" for langversion #30860
Comments
Your analysis is correct @elezar42 I've added this to our backlog to address when we next update this article. |
Hello everyone! What are you expecting as a solution to this issue? |
@luizhlelis From my testing, using the specific value of |
#37802) * edits * fix * edits * fix * Update docs/csharp/language-reference/compiler-options/language.md --------- Co-authored-by: Bill Wagner <wiwagn@microsoft.com>
This document and this one are both extremely confusing, because they use the term "default" to mean 2 different things for the langversion. There's the default that is used if no langversion is specified, and then there's a specific value named
default
that is a synonym forlatestmajor
. At least, I think that's how it's supposed to work. I'm making an educated guess here because it's not clearly documented. I understand that removing the value ofdefault
may not be an option because it would be a breaking change, but the document needs to be very clear about the difference between this value and the actual defaults that are used when no value is specified.Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: