Coder Social home page Coder Social logo

Comments (6)

vasily-kirichenko avatar vasily-kirichenko commented on July 28, 2024

VS 15.7.4

Everything compiles OK and the tests pass (build.cmd).
Also, everything compiles OK from within VS.
But the editor does not work on the test project:

image

Error | FS3160 | Problem reading assembly 'C:\git\FSharpx.Collections\src\FSharpx.Collections\bin\Debug\net45\FSharpx.Collections.dll': Build was not evaluated, expected the results to be ready after 'Eval' (GetCheckResultsAndImplementationsForProject, data = ("FinalizeTypeCheck", [|Id 1007; Id 1008; Id 1009; Id 1010; Id 1011|], Id 1013, false, None)). | FSharpx.Collections.Tests | C:\git\FSharpx.Collections\tests\FSharpx.Collections.Tests\CircularBufferTests.fs | 1 | Active

from fsharpx.collections.

vasily-kirichenko avatar vasily-kirichenko commented on July 28, 2024

Rider 2018.2 works totally OK:

image

from fsharpx.collections.

jackfoxy avatar jackfoxy commented on July 28, 2024

As discussed on Slack, the problem is revealed in the tests that are commented (because they do not build).

from fsharpx.collections.

jackfoxy avatar jackfoxy commented on July 28, 2024

With @vasily-kirichenko help on the https://functionalprogramming.slack.com/messages/C045LHLTH/ channel we figured out the problem. I'm sure this is an old regression that the compiler no longer takes into account overload ordering, so it cannot tell the difference between 'T [] and 'T.

from fsharpx.collections.

jackfoxy avatar jackfoxy commented on July 28, 2024

Work around is to specify type parameter, e.g. let circularBuffer = CircularBuffer<int> 5

from fsharpx.collections.

jackfoxy avatar jackfoxy commented on July 28, 2024

Not a bug in compiler. Old 2013 was exploiting a prior bug in compiler which has been fixed.

from fsharpx.collections.

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.