dotnet / dotnet/fsharp

Symbols API: Request: Make it easier to detect measureable type definitions

Open
#5,992 4 comments 1 reaction 1 assignee Claimed by @dsyme View on GitHub
Area-LangService-API Feature Improvement
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

If I get the typed AST of `let value = 0.7833263478179128134089M`, the type of `value` becomes "Microsoft.FSharp.Core.decimal\`1", whose `.AbbreviatedType` is "System.Decimal". But if I check `.IsAbbreviation` this evals to false, which makes it difficult to know whether I should check the abbreviation or not.

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.