Git Product home page Git Product logo

Comments (8)

cartermp avatar cartermp commented on June 24, 2024

My guess is this is a mono issue, not an F# issue. The compiler doesn't have specific quirks for locale like this. cc @nosami

from fsharp.

mamcx avatar mamcx commented on June 24, 2024

Is possible. However it only manifest with FSharpValue.MakeRecord. I start to wonder if is a alignment issue, because I have found some case where some of the fields get back right (I have dozens of structs that serialize decimals values)

from fsharp.

knocte avatar knocte commented on June 24, 2024

If you test it with Windows (MS.NET, not Mono), then you will know if it's a Mono issue or not.

from fsharp.

mamcx avatar mamcx commented on June 24, 2024

The problem is, will MS.NET run on a iOS device? Because this ONLY happened on a iOS device.

from fsharp.

knocte avatar knocte commented on June 24, 2024

Just test in MS.NET in a normal non-iOS Windows-OS, if you cannot reproduce it, then it's definitely a Mono bug.

from fsharp.

mamcx avatar mamcx commented on June 24, 2024

Do you read this? At the start say:

This bug not happened on Android, IOS emulator, osx, linux. Only on iOS device, when it have a region different to US/English.

But also, this is FSharp, on the FSharp Api for reflection.

P.D: Maybe is not clear after all. On OSX/Linux it run on .NET core.

from fsharp.

mamcx avatar mamcx commented on June 24, 2024

Damm, after another heavy rewrite I found it also happened with .NET core and using the dict function.

    //let result = result |> Seq.toArray <--- THIS MAKE IT WORK, but ONLY IF STEP WITH A DEBUGGER!
    result |> dict

from fsharp.

dsyme avatar dsyme commented on June 24, 2024

Closing out issues in this repo, if necessary please reopen at https://github.com/dotnet/fsharp, which is now the unified repository for F# work

from fsharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.