Comments (6)
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:
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.
Rider 2018.2 works totally OK:
from fsharpx.collections.
As discussed on Slack, the problem is revealed in the tests that are commented (because they do not build).
from fsharpx.collections.
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.
Work around is to specify type parameter, e.g. let circularBuffer = CircularBuffer<int> 5
from fsharpx.collections.
Not a bug in compiler. Old 2013 was exploiting a prior bug in compiler which has been fixed.
from fsharpx.collections.
Related Issues (20)
- Circular buffer does not enque arrays properly
- RandomAccessList is not serializable.
- Add LazyList.consLazy HOT 1
- Add static members for F#+ generic operators HOT 1
- Potential net45 support
- AppVeyor builds are not shown as PRs checks. HOT 5
- Travis build sometimes fails on downloading deps via Paket. HOT 3
- Namespaces used by the package and the approach to extending types already present in core lib are not consistent across the package.
- Align Collection Module functions with FSharp.Collections
- Is FSharp.Core >= 4.3.4 still desirable/necessary? HOT 4
- Add conversion of enum value to its string name HOT 1
- Fable compatibility HOT 6
- build fails, need to update FSharp.Formatting HOT 4
- Heap.Tail slow
- Fill gap of functions between `List` and `NonEmptyList`
- Can't use pre-release nuget packages? HOT 10
- Include source files in the Nuget package HOT 5
- Welcome gdziadkiewicz as co-maintainer! HOT 5
- Code style guidance for new structure HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fsharpx.collections.