···44 return URL.createObjectURL( new Blob( [ content ], { type: "text/javascript" } ) );
55}
6677-const worker = new Worker(getWorkerURL("http://localhost:8001/_opam"))
77+const worker = new Worker(getWorkerURL("https://jon-test.ludl.am/_opam"))
8899var promises = new Map()
1010var id = 1
+1-1
lib/impl.ml
···822822 let b = Sys.file_exists (prefix ^ ".cmi") in
823823 failed_cells := StringSet.remove id !failed_cells;
824824 Logs.info (fun m -> m "file_exists: %s = %b" (prefix ^ ".cmi") b));
825825- (* reset_dirs () *) ()
825825+ Ocaml_typing.Cmi_cache.clear ();
826826 with
827827 | Env.Error e ->
828828 Logs.err (fun m -> m "Env.Error: %a" Env.report_error e);
+21-43
test/cram/simple.t/run.t
···11 $ ./script.sh
22- cli: internal error, uncaught exception:
33- End_of_file
44- Raised at Stdlib.unsafe_really_input in file "stdlib.ml", line 429, characters 9-26
55- Called from Dune__exe__Unix_client.binary_rpc in file "example/unix_client.ml", line 20, characters 2-30
66- Called from Cmdlinergen.Gen.declare_.generate.inner.run in file "src/lib/cmdlinergen.ml", line 185, characters 27-35
77- Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
88- Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
99- Fatal error: exception Idl.MarshalError("No value found for key: 'execute' when unmarshalling 'init_config'")
1010- Raised at Idl.IdM.fail in file "src/lib/idl.ml", line 425, characters 15-22
1111- Called from Dune__exe__Unix_worker.start_server.process in file "example/unix_worker.ml", line 167, characters 4-62
1212- Called from Dune__exe__Unix_worker.binary_handler in file "example/unix_worker.ml", line 63, characters 2-17
1313- Called from Dune__exe__Unix_worker.serve_requests.(fun) in file "example/unix_worker.ml", line 92, characters 8-44
1414- Called from Stdlib__Fun.protect in file "fun.ml", line 34, characters 8-15
1515- Re-raised at Stdlib__Fun.protect in file "fun.ml", line 39, characters 6-52
1616- Called from Dune__exe__Unix_worker.serve_requests in file "example/unix_worker.ml", lines 86-92, characters 4-54
1717- Called from Dune__exe__Unix_worker in file "example/unix_worker.ml", line 172, characters 8-23
1818- cli: internal error, uncaught exception:
1919- End_of_file
2020- Raised at Stdlib.unsafe_really_input in file "stdlib.ml", line 429, characters 9-26
2121- Called from Dune__exe__Unix_client.binary_rpc in file "example/unix_client.ml", line 20, characters 2-30
2222- Called from Cmdlinergen.Gen.declare_.generate.inner.run in file "src/lib/cmdlinergen.ml", line 185, characters 27-35
2323- Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
2424- Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
2525- cli: internal error, uncaught exception:
2626- Unix.Unix_error(Unix.ECONNREFUSED, "connect", "")
2727- Raised by primitive operation at Dune__exe__Unix_client.binary_rpc in file "example/unix_client.ml", line 11, characters 2-25
2828- Called from Cmdlinergen.Gen.declare_.generate.inner.run in file "src/lib/cmdlinergen.ml", line 185, characters 27-35
2929- Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
3030- Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
3131- cli: internal error, uncaught exception:
3232- Unix.Unix_error(Unix.ECONNREFUSED, "connect", "")
3333- Raised by primitive operation at Dune__exe__Unix_client.binary_rpc in file "example/unix_client.ml", line 11, characters 2-25
3434- Called from Cmdlinergen.Gen.declare_.generate.inner.run in file "src/lib/cmdlinergen.ml", line 185, characters 27-35
3535- Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
3636- Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
3737- cli: internal error, uncaught exception:
3838- Unix.Unix_error(Unix.ECONNREFUSED, "connect", "")
3939- Raised by primitive operation at Dune__exe__Unix_client.binary_rpc in file "example/unix_client.ml", line 11, characters 2-25
4040- Called from Cmdlinergen.Gen.declare_.generate.inner.run in file "src/lib/cmdlinergen.ml", line 185, characters 27-35
4141- Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
4242- Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
4343- ./script.sh: line 17: kill: (32735) - No such process
4444- [1]
22+ unix_worker: [INFO] init()
33+ unix_worker: [INFO] init() finished
44+ N
55+ unix_worker: [INFO] setup() ...
66+ unix_worker: [INFO] Setup complete
77+ unix_worker: [INFO] setup() finished
88+ {mime_vals:[];stderr:S(error while evaluating #enable "pretty";;
99+ error while evaluating #disable "shortvar";;);stdout:S(OCaml version 5.2.0
1010+ Unknown directive enable.
1111+ Unknown directive disable.)}
1212+ {mime_vals:[];parts:[];script:S(# Printf.printf "Hello, world\n";;
1313+ Hello, world
1414+ - : unit = ())}
1515+ {mime_vals:[];parts:[];script:S(# let x = 1 + 2;;
1616+ val x : int = 3
1717+ # let x = 2+3;;
1818+ val x : int = 5)}
1919+ {mime_vals:[];parts:[];script:S(# let x = 1 + 2;;
2020+ val x : int = 3
2121+ # let x = 2+3;;
2222+ val x : int = 5)}