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

Incorrect Importing of Namespaces in F# Source Files #12660

Closed
vsfeedback opened this issue Jan 26, 2022 · 1 comment
Closed

Incorrect Importing of Namespaces in F# Source Files #12660

vsfeedback opened this issue Jan 26, 2022 · 1 comment

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


[severity:I'm unable to use this version]
So when you create a file such as

namespace MyNamespace

module MyModule =
    ()

If you write some code that imports a namespace

namespace MyNamespace

module MyModule =
    let getGuid = Guid.NewGuid()

If you import that namespace using the ctrl+. stuff, it will do this

open System

namespace MyNamespace

module MyModule =

which is incorrect, it needs to be:

namespace MyNamespace

open System

module MyModule =

Original Comments

Feedback Bot on 11/25/2021, 09:52 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.


Original Solutions

(no solutions)

@dsyme
Copy link
Contributor

dsyme commented Feb 16, 2022

Looks like the thing fixed by #12443

@dsyme dsyme closed this as completed Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants