-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
The README contains a section on importing generator code from other files. This appears to be broken in the current version of cinaps (or, at least, I cannot get it to work). Adding the following to the test file:
(*$ #use "imported.cinaps";;
let () = List.iter to_print ~f:printf
*)
(*$*)produces the output:
❭ dune runtest
File "test_staged.ml", line 16, characters 4-5:
Error: Syntax error: 'end' expected
File "test/test_staged_gen.ml", line 34, characters 28-34:
34 | (fun () -> let module M = struct
^^^^^^
This 'struct' might be unmatched
This failure is contained in this branch.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels