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

Warning number 3566 for Index notation is wrong, should be 3366 #38515

Closed
xiety opened this issue Nov 29, 2023 · 0 comments · Fixed by #41412
Closed

Warning number 3566 for Index notation is wrong, should be 3366 #38515

xiety opened this issue Nov 29, 2023 · 0 comments · Fixed by #41412
Labels
dotnet-fsharp/svc in-pr This issue will be closed (fixed) by an active pull request. Pri2 ⌚ Not Triaged Not triaged

Comments

@xiety
Copy link

xiety commented Nov 29, 2023

Type of issue

Typo

Description

https://learn.microsoft.com/en-us/dotnet/fsharp/whats-new/fsharp-6#simpler-indexing-syntax-with-expridx

Simpler indexing syntax with expr[idx]

Warning number from sentence:

For example, you can activate an optional informational warning (/warnon:3566) to start reporting uses of the expr.[idx] notation. For more information, see Indexer Notation.

Should be:

/warnon:3366

Reference:

https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/compiler-options

Page URL

https://learn.microsoft.com/en-us/dotnet/fsharp/whats-new/fsharp-6

Content source URL

https://github.com/dotnet/docs/blob/main/docs/fsharp/whats-new/fsharp-6.md

Document Version Independent Id

885f9f09-d2ff-112c-6dda-9a31bccc0e8a

Article author

@cartermp

Metadata

  • ID: e2dea170-a8f4-90f6-e578-e406fb43fef1
  • Product: dotnet-fsharp
@dotnet-policy-service dotnet-policy-service bot added the in-pr This issue will be closed (fixed) by an active pull request. label Jun 12, 2024
@dotnet-bot dotnet-bot added ⌚ Not Triaged Not triaged and removed ⌚ Not Triaged Not triaged labels Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet-fsharp/svc in-pr This issue will be closed (fixed) by an active pull request. Pri2 ⌚ Not Triaged Not triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants