Skip to content

Conversation

@arielf212
Copy link

@arielf212 arielf212 commented Aug 8, 2025

This also allows you to use the library for (include_subdirs qualified), which is perhaps the important contribution here :).
This closes #61.

I am very new to ocaml but got bitten by this in my learning project, so decided to fix it.
I tried to follow the style of the repo, if there are any style or implementation problems I'll fix them.

@arielf212 arielf212 force-pushed the bugfix/include-subdirs-qualified branch from e196db3 to 6090a3b Compare August 8, 2025 22:29
…libraries

This also allows you to use the library for `(include_subdirs qualified)`.

Signed-off-by: Ariel Fridman <[email protected]>
@arielf212 arielf212 force-pushed the bugfix/include-subdirs-qualified branch from 6090a3b to 7ab8f84 Compare August 9, 2025 10:18
@github-iron github-iron added the forwarded-to-js-devs This report has been forwarded to Jane Street's internal review system. label Aug 11, 2025
@dvulakh
Copy link

dvulakh commented Sep 9, 2025

Hi, thanks for posting this PR.

I tried pulling your change in internally, but when I do so, the test suite fails. I think it's not enough to uniformly drop only the first directory --- we probably need to look at the value of the -source-tree-root flag.

Ordinarily we'd be happy to help you make a contribution fixing your issue, but getting the test suite for ppx_expect to run with dune is a bit tricky. I'll try to take a look at fixing issues #60 and #61 soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

forwarded-to-js-devs This report has been forwarded to Jane Street's internal review system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

setting include_subdirs to qualified break the inline_test functionality.

3 participants