Skip to content

QuickAction does not open the relevant module #4223

@asik

Description

@asik

Repro steps

// SomeModule.fs
namespace SomeNamespace

module SomeModule =
    let someFunction () = ()
// Program.fs
module Program

[<EntryPoint>]
let main argv =
    someFunction()
    0

Invoke the first QuickAction on someFunction()
image

Expected behavior

Adds open SomeNamespace.SomeModule or otherwise fixes the code in a way that makes it compile

Actual behavior

Adds open SomeNamespace. The code still does not compile.

VS 2017 15.5.4
Visual F# Tools 15.4.1.18011902

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-LangService-CodeFixesCode fixes associated with diagnosticsBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions