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

Quick fix fails to open nested module #6732

Closed
asik opened this issue May 14, 2019 · 1 comment
Closed

Quick fix fails to open nested module #6732

asik opened this issue May 14, 2019 · 1 comment

Comments

@asik
Copy link
Contributor

asik commented May 14, 2019

Repro steps

File1.fs

module File1

module SubModule =

    let Foo = 3

Program.fs

[<EntryPoint>]
let main argv =
    let a = Foo
    0

Use suggestion to add open declaration on Foo.
image

Expected behavior

Suggests open File1.SubModule

Actual behavior

Suggests open File1
This does not fix the issue and the code still doesn't compile.

Related information

Visual Studio 16.0.2
Visual F# Tools 10.4 for F# 4.6 - 16.0.0.0

@dsyme
Copy link
Contributor

dsyme commented Aug 31, 2020

Duplicate of #4223

@dsyme dsyme marked this as a duplicate of #4223 Aug 31, 2020
@dsyme dsyme closed this as completed Aug 31, 2020
@cartermp cartermp removed this from the Backlog milestone Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants