dotnet / dotnet/fsharp

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

Open
#16,159 0 comments 0 reactions 0 assignees View on GitHub
Area-LangService-CodeFixes Bug Impact-Medium
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 11h
Merged PRs (30d)
131

Description

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

Image:
![image](https://github.com/dotnet/fsharp/assets/46543583/b83497cc-dbc0-4c21-9bcb-c14e458ee83b)

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.