You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/fsharp/lex.fsl
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -360,11 +360,7 @@ rule token args skip = parse
360
360
{ try
361
361
let s = removeUnderscores (lexemeTrimRight lexbuf 1)
362
362
// This implements a range check for decimal literals
363
-
#if FABLE_COMPILER
364
-
let d = Convert.ToDecimal(s)
365
-
#else
366
363
let d = System.Decimal.Parse(s,System.Globalization.NumberStyles.AllowExponent ||| System.Globalization.NumberStyles.Number,System.Globalization.CultureInfo.InvariantCulture)
367
-
#endif
368
364
DECIMAL d
369
365
with
370
366
e -> fail args lexbuf (FSComp.SR.lexOusideDecimal()) (DECIMAL (decimal 0))
0 commit comments