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

Lack of error from language service masks build error in error list #6036

Open
cartermp opened this issue Dec 19, 2018 · 1 comment
Open
Labels
Area-LangService-Diagnostics FCS code analysis, diagnostics, red squigglies Bug Impact-Medium (Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone

Comments

@cartermp
Copy link
Contributor

Use #6035, noting that there is nothing in the Error List by default (Build + IntelliSense).

Now build the project, noting that it fails. Look at the error list:

image

Now switch to "Build only":

image

The expectation is that for Build + IntelliSense, you'd see the FS0247 error.

@cartermp cartermp added this to the 16.0 milestone Dec 19, 2018
@cartermp cartermp modified the milestones: 16.0, 16.1 Feb 21, 2019
@cartermp cartermp modified the milestones: 16.1, 16.2 Apr 23, 2019
@cartermp cartermp modified the milestones: 16.2, Backlog Apr 30, 2019
@dsyme dsyme added the Impact-Low (Internal MS Team use only) Describes an issue with limited impact on existing code. label Aug 26, 2020
@dsyme dsyme added Impact-Medium (Internal MS Team use only) Describes an issue with moderate impact on existing code. and removed Impact-Low (Internal MS Team use only) Describes an issue with limited impact on existing code. labels Apr 5, 2022
@dsyme
Copy link
Contributor

dsyme commented Apr 5, 2022

This is actually a pretty significant bug. Even in F# 2.0 a failure in correct diagnostic list unification between intellisense and build diagnostics would have been considered a high-priority bug.

I think I've seen often too (Since about VS2015 I've learned not to trust the "Build + Intellisense" to show me build errors)

@dsyme dsyme added Area-LangService-Diagnostics FCS code analysis, diagnostics, red squigglies and removed Area-LangService-API labels Apr 5, 2022
@vzarytovskii vzarytovskii moved this to Not Planned in F# Compiler and Tooling Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-LangService-Diagnostics FCS code analysis, diagnostics, red squigglies Bug Impact-Medium (Internal MS Team use only) Describes an issue with moderate impact on existing code.
Projects
Status: New
Development

No branches or pull requests

2 participants