Skip to content

Language Service does not show FS0247 error #6035

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

Open
cartermp opened this issue Dec 19, 2018 · 1 comment
Open

Language Service does not show FS0247 error #6035

cartermp opened this issue Dec 19, 2018 · 1 comment
Assignees
Labels
Area-LangService-Diagnostics FCS code analysis, diagnostics, red squigglies Feature Improvement
Milestone

Comments

@cartermp
Copy link
Contributor

Using 16.0, but also reproduces in 15.9

  1. Create a new project
  2. Replace the contents of the first file with this:
namespace A

    module B = begin end
  1. Create a new file and replace its contents with this:
namespace A.B

    type DU =
        | X of float
        | Y of float

Expected:

  • Error in the error list and in the editor
  • FS0247 - A namespace and module named 'A.b' both occur in two parts of this assembly

Actual:

  • Nothing in the editor and nothing in the error list
@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
@bmitc
Copy link
Contributor

bmitc commented Mar 29, 2022

Just adding that I have come across this as well. :) For whatever reason, I've never had this issue before (probably just luck in naming), but I came across it today and was confused why it was only coming up during the build step.

@dsyme dsyme added Area-LangService-Diagnostics FCS code analysis, diagnostics, red squigglies Feature Improvement and removed Area-LangService-API Bug Impact-Low (Internal MS Team use only) Describes an issue with limited impact on existing code. labels Apr 5, 2022
@vzarytovskii vzarytovskii moved this to Not Planned in F# Compiler and Tooling Jun 17, 2022
@edgarfgp edgarfgp self-assigned this Apr 12, 2025
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 Feature Improvement
Projects
Status: New
Development

No branches or pull requests

4 participants