Announcement

Collapse
No announcement yet.

[CLOSED] [#1672] Int64 - parse with 0 before - 15.7 & 16.0 beta 4

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    [CLOSED] [#1672] Int64 - parse with 0 before - 15.7 & 16.0 beta 4

    Int64 a = Int64.Parse("01");
    Throws a Create an OverflowException

    https://deck.net/811c52045bee577ff07b36aab1ba9a45

    If i check the code :

    if (str !== result.toString()) {
    throw new System.OverflowException();
    => sure with a 0 before this can not work ;)
    Last edited by geoffrey.mcgill; 2017-09-08 @ 06:17 PM.

    #2
    I'm not exactly sure where the change happened, but this Int64.Parse scenario appears to be working now.

    Likely the fix occurred when some portarelle tagged issues were fixed.

    Comment

    Working...
    X