Comments (2)
This issue is not so troublesome, as it disappears when the layout size matches exactly the type (i.e. 32b instead of 77b in the example above), as pointed out by @zilinc.
from cogent.
typecheck fixed by 467b5dd
from cogent.
Related Issues (20)
- case-of and subtyping
- Custom layouts for unit and constructors without arguments HOT 1
- Wrong shallow embedding for abstract polymorphic functions.
- Type check fails for array index expression. HOT 1
- Variant tags can have under-specified layout HOT 1
- Cogent Refinement Proofs fail for RISC-V architecture HOT 3
- redo #366 on master HOT 1
- Multi-arg data constructor
- Simple layout polymorphic function fails HOT 3
- Unexpected Recursion in Generated C Code
- Pattern match failure in Inference.hs
- Cogent debugging support
- multilines in table file breaks CorresSetup HOT 1
- types in expressions are not normalised
- AllRefine fails on master for a simple program with an abstract type HOT 2
- Surface Tc crash on variant mismatch HOT 2
- `after` and layout polymorphism HOT 1
- TypeCheck fails for builtin array types HOT 1
- Project homepage link in readme is outdated HOT 1
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 cogent.