Skip to content

Intellisense does not appear off of generic type #8

Closed
@KevinRansom

Description

@KevinRansom

Opened by: latkin

In the below code, intellisense no longer pops up at the specified point. It used to work ok in 3.1.X, but has stopped working in 4.0

type GT<'a> =
  static member P = 12
  static member Q = 13

let _ = GT<int>. <--- no intellisense here now, expecting list with 'P','Q'
let _ = GT.   <---- intellisense does still appear here

Testing it out on some older builds, this appears to have been introduced with the "constructors as first-class functions" feature.

comments

dsyme wrote Dec 11, 2014 at 1:35 PM [x]

What's the name of the specific IDE unit test that's failing? I'll aim to run them and make the fix tomorrow

latkin wrote Dec 11, 2014 at 2:12 PM [x]
UnitTests.Tests.LanguageService.AutoCompletionListTests, testcase Generics.GenericTypeMembers

latkin wrote Dec 11, 2014 at 2:30 PM [x]
Note that you'll need a build of VS 2015, plus the VS 2015 SDK, installed to run the IDE tests for fsharp4. You can get both from here http://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs.aspx

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions