Comments (7)
I can't make a better guess than you did, so I would just try bisecting typing/
changes between 5.1 and 5.2.
from ocaml.
@Octachron made some progress debugging this in the meantime and it seems to be related to the preview of ppxlib we are using. Either one of us will close this if it's confirmed to be ppxlib-only issue
from ocaml.
This seems indeed increasingly likely to be a ppxlib issue. Typically, my reproduction case at https://github.com/Octachron/bug-reproduction-archives/tree/main/ppxlib_and_include fails with the reported error whenever a ppxlib-based ppx is used (even for an identity ppx).
from ocaml.
mmh, that's weird though, your example doesn't use any ppxlib feature other than the driver.
Ast_mapper.default_mapper
is a function from compiler-libs. Maybe something is missing from there in 5.2
from ocaml.
oh nevermind i read the ppx
/ manual_ppx
directories the wrong way, sorry for the noise
from ocaml.
Random thought: could this be some fallout from however ppxlib adapted to the changes in #12119, #12191? This was done in 5.1, but it may be that ppxlib changed it after the 5.1 release and we are only testing the change opam-wide now.
from ocaml.
I've just tried the main branch of ppxlib and it works just fine there if that was what you were thinking.
However I also managed to reduce @Octachron's test case even more: Octachron/bug-reproduction-archives#1
and it turns out the issue is in the way private types are translated in ppxlib.
I'll close this issue to avoid further noise. The ppxlib maintainers have been notified.
from ocaml.
Related Issues (20)
- Tail call optimisation not explicitely guaranteed by the manual HOT 1
- A minor oversight in pretty-printing raw identifiers (for new types in Pexp_function) HOT 4
- `value_kind` classification for `function` cases only looks at first case HOT 2
- Ground coercion is not composable HOT 1
- Regression with default GC settings between `4.14.2` and `5.1.1` HOT 7
- Doc typo in `Printexc` HOT 2
- Abnormal exit after upgrading to OCaml 5 HOT 4
- Restore native armv7 support for NetBSD 10.0 HOT 7
- Missing warning when an attribute is ignored or makes no sense HOT 9
- Support parameter constraints in module signature type equalities HOT 5
- Update the effect handlers manual page to use syntax HOT 3
- Simplify effect handler closure and reperform by dropping the `last_fiber` argument
- Module type substitutions in signature of recursive modules are not checked for cyclicity
- Sub-module identities inside an applicative functor are actually generative, leading to invalid signatures
- Strange error message with trunk HOT 5
- "β t is less general than ∀α. α t" with trunk HOT 14
- Please provide guidance whether the static linking exception applies to distributions like DkML HOT 12
- Semantics of toplevel let-bindings in classes HOT 12
- Make extensible variants more efficient and mashalable. HOT 4
- Library archive name change in OCaml 5 (e.g libunix.a -> libunixbyt.a & libunixnat.a) HOT 3
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 ocaml.