Comments (1)
This bug persists after merging with sessions
branch. Though, as expected the error message now names the type variables:
<stdin>:2: Type error: The codomain of continuation `k' has type
`a'
but a type compatible with
`a'
was expected.
In expression: shallowhandle(m) {
case Op(k) -> h1(fun() { k(2) })
case Return(x) -> x
}.
Oddly, it says that a
isn't a
.
See stack trace:
Raised at file "typeSugar.ml", line 374, characters 22-58
Called from file "typeSugar.ml", line 3033, characters 6-80
Called from file "list.ml", line 88, characters 24-34
Called from file "typeSugar.ml", line 3031, characters 9-268
Called from file "typeSugar.ml", line 2818, characters 20-83
Called from file "typeSugar.ml", line 3167, characters 21-68
Called from file "typeSugar.ml", line 3401, characters 37-104
Called from file "list.ml", line 88, characters 24-34
Called from file "typeSugar.ml", line 3399, characters 4-408
Called from file "typeSugar.ml", line 3587, characters 36-64
Called from file "utility.ml" (inlined), line 16, characters 23-26
Called from file "frontend.ml", line 67, characters 8-345
Called from file "utility.ml" (inlined), line 16, characters 23-26
Called from file "frontend.ml", line 67, characters 8-417
Called from file "utility.ml" (inlined), line 16, characters 23-26
Called from file "frontend.ml", line 67, characters 8-497
Called from file "utility.ml" (inlined), line 16, characters 23-26
Called from file "frontend.ml", line 67, characters 8-583
Called from file "utility.ml" (inlined), line 16, characters 23-26
Called from file "frontend.ml", line 67, characters 8-657
Called from file "utility.ml" (inlined), line 16, characters 23-26
Called from file "frontend.ml", line 67, characters 8-733
Called from file "utility.ml" (inlined), line 16, characters 23-26
Called from file "frontend.ml", line 67, characters 8-815
Called from file "utility.ml" (inlined), line 16, characters 23-26
Called from file "frontend.ml", line 67, characters 8-899
Called from file "utility.ml" (inlined), line 16, characters 23-26
Called from file "frontend.ml", line 67, characters 8-977
Called from file "utility.ml" (inlined), line 16, characters 23-26
Called from file "frontend.ml", line 67, characters 6-1023
Called from file "links.ml", line 280, characters 34-87
Called from file "links.ml", line 222, characters 20-31
Called from file "camlinternalLazy.ml", line 27, characters 17-27
Re-raised at file "camlinternalLazy.ml", line 34, characters 4-11
Called from file "errors.ml", line 114, characters 4-16
from links.
Related Issues (20)
- Unbound effect variables in type aliases when effect sugar is enabled
- Incorrect resolution of shadowed names in mutual blocks HOT 2
- "flat" and "nested" kinds for query results
- Lens refactor HOT 2
- Kind inference
- dateToInt -> intToDate does not roundtrip depending on time zone HOT 3
- Interaction between session-typed communication and effects is broken even without multi-shot continuations
- Incomplete rows can trigger an internal error
- Some questions about your work :) HOT 3
- REPL prompt disappears HOT 5
- "opam install links" doesn't produce linx executable in Ocaml 5.0.0 HOT 8
- Restriction of using row polymorphism for the effect system
- Recent versions of ppx_sexp_conv cause warnings in lens code
- Untypesettable session types
- Implement delegatable channels
- Rename links-mysql8 driver to links-mysql? HOT 2
- SPARQL improvements
- ppx_sexp_conv creates code triggering warning 40 HOT 3
- Incompatible with OCaml 4.08 HOT 2
- Continuation cancellation hangs
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 links.