1

Closed

[Bug][Go to metadata] Option<int> is said to be a module instead of a type

description

When writing and placing the caret on Option<int>:
let x: Option<int> = Some 3
Intellisense says that Option is a module.
This prevents our Go to metadata feature to generate the type definition in VFPT.

Image

See here in our Github
Closed Jan 27, 2015 at 11:00 PM by KevinRansom
handle at github

comments

antofik wrote Nov 21, 2014 at 11:01 PM

Interesting, but system correctly finds time Option<TType_var ?> when building tooltip for "Option", but then some filter function discards it with following comment: "Filter types that are explicitly suppressed from the IntelliSense (such as uppercase "FSharpList", "Option", etc.)" (see ServiceDeclaration.fs:563)
After removing line service.fs:527 (i.e. call to the RemoveExplicitlySuppressed) everything magically begins to work as it should.

What was the reason behind this logic?