dotnet / dotnet/fsharp

The 'not' in 'not struct' and 'enum' are considered in tooltip as a function, and unmanaged, not, enum are not colored

Open
#9,771 3 comments 0 reactions 0 assignees View on GitHub
Area-LangService-ToolTips Feature Request
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 11h
Merged PRs (30d)
131

Description

Basically, just this (true for `enum` and `not struct` constraints):

![image](https://user-images.githubusercontent.com/16015770/88392755-db005800-cdbc-11ea-9d51-a963e9c8cb2c.png)

(found it while playing with @cartermp's [impossibility challenge](https://fsharp.slack.com/archives/C1R50TKEU/p1593620919399200))

Also, `unmanaged`, `equality`, `comparison` and `enum` constraints do not get colored correctly:

![image](https://user-images.githubusercontent.com/16015770/88393869-b3aa8a80-cdbe-11ea-881b-cac19c13ecf4.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.