-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Priority-Lowenhancementhelp wantedplannedIndicates a feature or bug is planned for inclusion in a future releaseIndicates a feature or bug is planned for inclusion in a future release
Description
F# > 4.0 quotes literal decimals in an odd way compared to other numeric literals such that it confuses the decompiler:
> <@ 2.3m @>;;
val it : Quotations.Expr<decimal> =
Call (None, MakeDecimal,
[Value (23), Value (0), Value (0), Value (false), Value (1uy)])
{CustomAttributes = [NewTuple (Value ("DebugRange"),
NewTuple (Value ("stdin"), Value (7), Value (3), Value (7), Value (7)))];
Raw = ...;
Type = System.Decimal;}
> unquote <@ 2.3m @>;;
val it : UnquotedExpression =
23.[0, 0, false, 1uy]
2.3M
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Priority-Lowenhancementhelp wantedplannedIndicates a feature or bug is planned for inclusion in a future releaseIndicates a feature or bug is planned for inclusion in a future release