Skip to content

setting include_subdirs to qualified break the inline_test functionality. #61

@idhowardgj94

Description

@idhowardgj94

as title, I'm trying to build a library using (include_subdirs qualified) in dune.

after that, inline_tests can't find file due to wrong directory.

for example, I have a file in path: <root>/io/timer.ml

it should have qualified module name (and it will) Mylib.Io.Timer,

but when i add ppx_expect inside timer.ml and run dune build

error occur:

Fatal error: exception Sys_error("/home/howard/workspace/playboy/_build/.sandbox/9e66f07bc7b6fd12af629b6803297552/default/lib/timer.ml: No such file or directory")

and the timer.ml file actually locate at <root>/default/lib/io/timer.ml

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions