Skip to content

CodeFix for adding missing '=' (in case of FS0010) suggests non-parseable code. #16159

@T-Gro

Description

@T-Gro

CodeFix for adding missing = to type definition is too aggressive, reacts on FS0010 which is the general parser error.

Image:
image

Microsoft Visual Studio Enterprise 2022
Version 17.9.0 Preview 1.0 [34217.233.main]
VisualStudio.17.IntPreview/17.9.0-pre.1.0+34217.233.main
Microsoft .NET Framework
Version 4.8.09032

Visual F# Tools 17.8.0-beta.23516.2+d1de6a8d1e6e18c636cf55894b5158ab0e324394
Microsoft Visual F# Tools

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-LangService-CodeFixesCode fixes associated with diagnosticsBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.

    Type

    Projects

    Status

    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions