Skip to content

User-defined Module name gets colorized as blue when used to qualify a computation expression name #1697

@cartermp

Description

@cartermp
  1. Using the Roslyn editor on dev15prerel with .NET Desktop installed
  2. Clone FSharpx.Extras
  3. Change build targets of projects if they don't load, I just changed them to .NET Framework 4.6.1 and everything was fine
  4. Run paket.bootstrapper and then paket restore
  5. Open Lens.fs and go to line 58, noting that State.state is colorized blue, as if it were a keyword.

fs-wrong-color-type

However, the module State is user-defined:

fs-wrong-color-type-module

I'm not actually sure what the expected behavior here should be. Should the module be colorized at all as, say, teal? Should the name of the user-defined computation expression be colorized? cc @dsyme @Pilchie

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions