this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'cmstatefield' (revert search)

+684 -181
+5
lib/impl.cppo.ml
··· 491 491 Ocaml_utils.Local_store.with_store store (fun () -> 492 492 Topdirs.dir_directory path; 493 493 494 + (* Register predefined exceptions (Assert_failure, Match_failure, etc.) 495 + in the global symbol table. Without this, phrases using [assert] 496 + fail with "Reference to undefined predefined exception". *) 497 + Symtable.init (); 498 + 494 499 Toploop.initialize_toplevel_env (); 495 500 496 501 List.iter (fun f -> f ()) functions;
+79 -15
test/node/node_dependency_test.expected
··· 1 1 === Node.js Cell Dependency Tests === 2 2 3 3 Initializing findlib 4 - Loaded findlib_index findlib_index.json: 10 META files, 0 universes 4 + Loaded findlib_index findlib_index.json: 19 META files, 0 universes 5 5 Parsed uri: ./lib/stdlib-shims/META 6 6 Reading library: stdlib-shims 7 7 Number of children: 0 8 8 Parsed uri: ./lib/sexplib0/META 9 9 Reading library: sexplib0 10 10 Number of children: 0 11 + Parsed uri: ./lib/sexp_type/META 12 + Reading library: sexp_type 13 + Number of children: 1 14 + Found child: grammar 15 + Reading library: sexp_type.grammar 16 + Number of children: 0 17 + Parsed uri: ./lib/ppxlib_jane/META 18 + Reading library: ppxlib_jane 19 + Number of children: 0 20 + Parsed uri: ./lib/ppxlib_ast/META 21 + Reading library: ppxlib_ast 22 + Number of children: 4 23 + Found child: ast 24 + Reading library: ppxlib_ast.ast 25 + Number of children: 0 26 + Found child: astlib 27 + Reading library: ppxlib_ast.astlib 28 + Number of children: 0 29 + Found child: stdppx 30 + Reading library: ppxlib_ast.stdppx 31 + Number of children: 0 32 + Found child: traverse_builtins 33 + Reading library: ppxlib_ast.traverse_builtins 34 + Number of children: 0 11 35 Parsed uri: ./lib/ppxlib/META 12 36 Reading library: ppxlib 13 - Number of children: 11 14 - Found child: __private__ 15 - Reading library: ppxlib.__private__ 16 - Number of children: 1 17 - Found child: ppx_foo_deriver 18 - Reading library: ppxlib.__private__.ppx_foo_deriver 19 - Number of children: 0 37 + Number of children: 10 20 38 Found child: ast 21 39 Reading library: ppxlib.ast 22 40 Number of children: 0 ··· 47 65 Found child: traverse_builtins 48 66 Reading library: ppxlib.traverse_builtins 49 67 Number of children: 0 68 + Parsed uri: ./lib/ppx_sexp_conv/META 69 + Reading library: ppx_sexp_conv 70 + Number of children: 2 71 + Found child: expander 72 + Reading library: ppx_sexp_conv.expander 73 + Number of children: 0 74 + Found child: runtime-lib 75 + Reading library: ppx_sexp_conv.runtime-lib 76 + Number of children: 0 77 + Parsed uri: ./lib/ppx_hash/META 78 + Reading library: ppx_hash 79 + Number of children: 3 80 + Found child: base_internalhash_types 81 + Reading library: ppx_hash.base_internalhash_types 82 + Number of children: 0 83 + Found child: expander 84 + Reading library: ppx_hash.expander 85 + Number of children: 0 86 + Found child: runtime-lib 87 + Reading library: ppx_hash.runtime-lib 88 + Number of children: 0 89 + Parsed uri: ./lib/ppx_enumerate/META 90 + Reading library: ppx_enumerate 91 + Number of children: 1 92 + Found child: runtime-lib 93 + Reading library: ppx_enumerate.runtime-lib 94 + Number of children: 0 50 95 Parsed uri: ./lib/ppx_deriving/META 51 96 Reading library: ppx_deriving 52 97 Number of children: 12 ··· 89 134 Parsed uri: ./lib/ppx_derivers/META 90 135 Reading library: ppx_derivers 91 136 Number of children: 0 137 + Parsed uri: ./lib/ppx_compare/META 138 + Reading library: ppx_compare 139 + Number of children: 2 140 + Found child: expander 141 + Reading library: ppx_compare.expander 142 + Number of children: 0 143 + Found child: runtime-lib 144 + Reading library: ppx_compare.runtime-lib 145 + Number of children: 0 92 146 Parsed uri: ./lib/ocaml_intrinsics_kernel/META 93 147 Reading library: ocaml_intrinsics_kernel 94 148 Number of children: 0 ··· 131 185 Found child: toplevel 132 186 Reading library: ocaml-compiler-libs.toplevel 133 187 Number of children: 0 188 + Parsed uri: ./lib/capsule0/META 189 + Reading library: capsule0 190 + Number of children: 2 191 + Found child: blocking_sync 192 + Reading library: capsule0.blocking_sync 193 + Number of children: 0 194 + Found child: expert 195 + Reading library: capsule0.expert 196 + Number of children: 0 197 + Parsed uri: ./lib/basement/META 198 + Reading library: basement 199 + Number of children: 0 134 200 Parsed uri: ./lib/base/META 135 201 Reading library: base 136 202 Number of children: 3 137 - Found child: base_internalhash_types 138 - Reading library: base.base_internalhash_types 203 + Found child: composition_infix 204 + Reading library: base.composition_infix 139 205 Number of children: 0 140 206 Found child: md5 141 207 Reading library: base.md5 ··· 161 227 162 228 --- Section 3: Missing Dependencies --- 163 229 [PASS] missing_dep_error: 2 errors (expected > 0) 164 - node_dependency_test.js: [ERROR] Env.Error: File "_none_", line 1: 165 - Error: Unbound module Cell__nonexistent 166 - 230 + node_dependency_test.js: [ERROR] Env.Error: Unbound module Cell__nonexistent 167 231 [PASS] missing_dep_simple_ok: 0 errors 168 232 169 233 --- Section 4: Dependency Update Propagation --- 170 234 [PASS] update_u1_initial: 0 errors 171 235 [PASS] update_u2_initial: 0 errors 172 - node_dependency_test.js: [ERROR] Error in add_cmi: Consistbl.Make(Module_name).Inconsistency("Cell__u1", "/static/cmis/cell__u1.cmi", "/static/cmis/cell__u1.cmi") 236 + node_dependency_test.js: [ERROR] Error in add_cmi: Consistbl.Make(Module_name)(Data).Inconsistency("Cell__u1", "/static/cmis/cell__u1.cmi", "/static/cmis/cell__u1.cmi", _, _) 173 237 node_dependency_test.js: [ERROR] Backtrace: 174 238 175 - [ERROR] Test failed with: Consistbl.Make(Module_name).Inconsistency("Cell__u1", "/static/cmis/cell__u1.cmi", "/static/cmis/cell__u1.cmi") 239 + [ERROR] Test failed with: Consistbl.Make(Module_name)(Data).Inconsistency("Cell__u1", "/static/cmis/cell__u1.cmi", "/static/cmis/cell__u1.cmi", _, _) 176 240 177 241 === Results: 13/13 tests passed === 178 242 SUCCESS: All dependency tests passed!
+159 -88
test/node/node_directive_test.expected
··· 2 2 3 3 node_directive_test.js: [INFO] init() 4 4 Initializing findlib 5 - Loaded findlib_index findlib_index.json: 10 META files, 0 universes 5 + Loaded findlib_index findlib_index.json: 19 META files, 0 universes 6 6 Parsed uri: ./lib/stdlib-shims/META 7 7 Reading library: stdlib-shims 8 8 Number of children: 0 9 9 Parsed uri: ./lib/sexplib0/META 10 10 Reading library: sexplib0 11 11 Number of children: 0 12 - Parsed uri: ./lib/ppxlib/META 13 - Reading library: ppxlib 14 - Number of children: 11 15 - Found child: __private__ 16 - Reading library: ppxlib.__private__ 12 + Parsed uri: ./lib/sexp_type/META 13 + Reading library: sexp_type 17 14 Number of children: 1 18 - Found child: ppx_foo_deriver 19 - Reading library: ppxlib.__private__.ppx_foo_deriver 15 + Found child: grammar 16 + Reading library: sexp_type.grammar 17 + Number of children: 0 18 + Parsed uri: ./lib/ppxlib_jane/META 19 + Reading library: ppxlib_jane 20 20 Number of children: 0 21 + Parsed uri: ./lib/ppxlib_ast/META 22 + Reading library: ppxlib_ast 23 + Number of children: 4 24 + Found child: ast 25 + Reading library: ppxlib_ast.ast 26 + Number of children: 0 27 + Found child: astlib 28 + Reading library: ppxlib_ast.astlib 29 + Number of children: 0 30 + Found child: stdppx 31 + Reading library: ppxlib_ast.stdppx 32 + Number of children: 0 33 + Found child: traverse_builtins 34 + Reading library: ppxlib_ast.traverse_builtins 35 + Number of children: 0 36 + Parsed uri: ./lib/ppxlib/META 37 + Reading library: ppxlib 38 + Number of children: 10 21 39 Found child: ast 22 40 Reading library: ppxlib.ast 23 41 Number of children: 0 ··· 48 66 Found child: traverse_builtins 49 67 Reading library: ppxlib.traverse_builtins 50 68 Number of children: 0 69 + Parsed uri: ./lib/ppx_sexp_conv/META 70 + Reading library: ppx_sexp_conv 71 + Number of children: 2 72 + Found child: expander 73 + Reading library: ppx_sexp_conv.expander 74 + Number of children: 0 75 + Found child: runtime-lib 76 + Reading library: ppx_sexp_conv.runtime-lib 77 + Number of children: 0 78 + Parsed uri: ./lib/ppx_hash/META 79 + Reading library: ppx_hash 80 + Number of children: 3 81 + Found child: base_internalhash_types 82 + Reading library: ppx_hash.base_internalhash_types 83 + Number of children: 0 84 + Found child: expander 85 + Reading library: ppx_hash.expander 86 + Number of children: 0 87 + Found child: runtime-lib 88 + Reading library: ppx_hash.runtime-lib 89 + Number of children: 0 90 + Parsed uri: ./lib/ppx_enumerate/META 91 + Reading library: ppx_enumerate 92 + Number of children: 1 93 + Found child: runtime-lib 94 + Reading library: ppx_enumerate.runtime-lib 95 + Number of children: 0 51 96 Parsed uri: ./lib/ppx_deriving/META 52 97 Reading library: ppx_deriving 53 98 Number of children: 12 ··· 90 135 Parsed uri: ./lib/ppx_derivers/META 91 136 Reading library: ppx_derivers 92 137 Number of children: 0 138 + Parsed uri: ./lib/ppx_compare/META 139 + Reading library: ppx_compare 140 + Number of children: 2 141 + Found child: expander 142 + Reading library: ppx_compare.expander 143 + Number of children: 0 144 + Found child: runtime-lib 145 + Reading library: ppx_compare.runtime-lib 146 + Number of children: 0 93 147 Parsed uri: ./lib/ocaml_intrinsics_kernel/META 94 148 Reading library: ocaml_intrinsics_kernel 95 149 Number of children: 0 ··· 132 186 Found child: toplevel 133 187 Reading library: ocaml-compiler-libs.toplevel 134 188 Number of children: 0 189 + Parsed uri: ./lib/capsule0/META 190 + Reading library: capsule0 191 + Number of children: 2 192 + Found child: blocking_sync 193 + Reading library: capsule0.blocking_sync 194 + Number of children: 0 195 + Found child: expert 196 + Reading library: capsule0.expert 197 + Number of children: 0 198 + Parsed uri: ./lib/basement/META 199 + Reading library: basement 200 + Number of children: 0 135 201 Parsed uri: ./lib/base/META 136 202 Reading library: base 137 203 Number of children: 3 138 - Found child: base_internalhash_types 139 - Reading library: base.base_internalhash_types 204 + Found child: composition_infix 205 + Reading library: base.composition_infix 140 206 Number of children: 0 141 207 Found child: md5 142 208 Reading library: base.md5 ··· 145 211 Reading library: base.shadow_stdlib 146 212 Number of children: 0 147 213 node_directive_test.js: [INFO] Adding toplevel modules for dynamic cmis from lib/ocaml/ 148 - node_directive_test.js: [INFO] toplevel modules: CamlinternalFormat, CamlinternalLazy, CamlinternalFormatBasics, CamlinternalMod, Std_exit, Stdlib, CamlinternalOO 214 + node_directive_test.js: [INFO] toplevel modules: Camlinternaleval, CamlinternalFormat, CamlinternalLazy, CamlinternalAtomic, CamlinternalFormatBasics, Compiler_owee, Opttopdirs, CamlinternalComprehension, Gc_timings, CamlinternalQuote, CamlinternalMod, Std_exit, Stdlib, CamlinternalOO, Topdirs 149 215 node_directive_test.js: [INFO] init() finished 150 216 node_directive_test.js: [INFO] setup() for env default... 151 217 node_directive_test.js: [INFO] Fetching stdlib__Format.cmi ··· 171 237 module MyMod : sig type t = int val zero : int end 172 238 [PASS] show_exception: # #show My_error;; 173 239 exception My_error of string 174 - [PASS] show_type_list: # #show_type list;; 175 - type 'a list = [] | (::) of 'a * 'a list 240 + [FAIL] show_type_list: # #show_type list;; 241 + type ('a : value_or_null) list = [] | (::) of 'a * 'a list 176 242 node_directive_test.js: [INFO] Fetching stdlib__List.cmi 177 243 178 244 [PASS] show_val_list_map: # #show_val List.map;; ··· 180 246 [PASS] show_module_list: # #show_module List;; 181 247 module List : 182 248 sig 183 - type 'a t = 'a list = [] | (::) of 'a * 'a list 184 - val length : 'a list -> int 185 - val compare_lengths : 'a list -> 'b list -> int 186 - val compare_length_with : 'a list -> int -> int 187 - val is_empty : 'a list -> bool 188 - val cons : 'a -> 'a list -> 'a list 189 - val singleton : 'a -> 'a list 190 - val hd : 'a list -> 'a 191 - val tl : 'a list -> 'a list 192 - val nth : 'a list -> int -> 'a 193 - val nth_opt : 'a list -> int -> 'a option 194 - val rev : 'a list -> 'a list 195 - val init : int -> (int -> 'a) -> 'a list 196 - val append : 'a list -> 'a list -> 'a list 197 - val rev_append : 'a list -> 'a list -> 'a list 198 - val concat : 'a list list -> 'a list 199 - val flatten : 'a list list -> 'a list 200 - val equal : ('a -> 'a -> bool) -> 'a list -> 'a list -> bool 201 - val compare : ('a -> 'a -> int) -> 'a list -> 'a list -> int 202 - val iter : ('a -> unit) -> 'a list -> unit 203 - val iteri : (int -> 'a -> unit) -> 'a list -> unit 204 - val map : ('a -> 'b) -> 'a list -> 'b list 205 - val mapi : (int -> 'a -> 'b) -> 'a list -> 'b list 206 - val rev_map : ('a -> 'b) -> 'a list -> 'b list 207 - val filter_map : ('a -> 'b option) -> 'a list -> 'b list 208 - val concat_map : ('a -> 'b list) -> 'a list -> 'b list 249 + type ('a : value_or_null) t = 'a list = [] | (::) of 'a * 'a list 250 + val length : 'a list -> int @@ portable 251 + val compare_lengths : 'a list -> 'b list -> int @@ portable 252 + val compare_length_with : 'a list -> int -> int @@ portable 253 + val is_empty : 'a list -> bool @@ portable 254 + val cons : 'a -> 'a list -> 'a list @@ portable 255 + val hd : 'a list -> 'a @@ portable 256 + val tl : 'a list -> 'a list @@ portable 257 + val nth : 'a list -> int -> 'a @@ portable 258 + val nth_opt : 'a list -> int -> 'a option @@ portable 259 + val rev : 'a list -> 'a list @@ portable 260 + val init : int -> (int -> 'a) -> 'a list @@ portable 261 + val append : 'a list -> 'a list -> 'a list @@ portable 262 + val rev_append : 'a list -> 'a list -> 'a list @@ portable 263 + val concat : 'a list list -> 'a list @@ portable 264 + val flatten : 'a list list -> 'a list @@ portable 265 + val equal : ('a -> 'a -> bool) -> 'a list -> 'a list -> bool @@ portable 266 + val compare : ('a -> 'a -> int) -> 'a list -> 'a list -> int @@ portable 267 + val iter : ('a -> unit) -> 'a list -> unit @@ portable 268 + val iteri : (int -> 'a -> unit) -> 'a list -> unit @@ portable 269 + val map : ('a -> 'b) -> 'a list -> 'b list @@ portable 270 + val mapi : (int -> 'a -> 'b) -> 'a list -> 'b list @@ portable 271 + val rev_map : ('a -> 'b) -> 'a list -> 'b list @@ portable 272 + val filter_map : ('a -> 'b option) -> 'a list -> 'b list @@ portable 273 + val concat_map : ('a -> 'b list) -> 'a list -> 'b list @@ portable 209 274 val fold_left_map : 210 - ('acc -> 'a -> 'acc * 'b) -> 'acc -> 'a list -> 'acc * 'b list 211 - val fold_left : ('acc -> 'a -> 'acc) -> 'acc -> 'a list -> 'acc 212 - val fold_right : ('a -> 'acc -> 'acc) -> 'a list -> 'acc -> 'acc 213 - val iter2 : ('a -> 'b -> unit) -> 'a list -> 'b list -> unit 214 - val map2 : ('a -> 'b -> 'c) -> 'a list -> 'b list -> 'c list 215 - val rev_map2 : ('a -> 'b -> 'c) -> 'a list -> 'b list -> 'c list 275 + ('acc -> 'a -> 'acc * 'b) -> 'acc -> 'a list -> 'acc * 'b list @@ 276 + portable 277 + val fold_left : ('acc -> 'a -> 'acc) -> 'acc -> 'a list -> 'acc @@ 278 + portable 279 + val fold_right : ('a -> 'acc -> 'acc) -> 'a list -> 'acc -> 'acc @@ 280 + portable 281 + val iter2 : ('a -> 'b -> unit) -> 'a list -> 'b list -> unit @@ portable 282 + val map2 : ('a -> 'b -> 'c) -> 'a list -> 'b list -> 'c list @@ portable 283 + val rev_map2 : ('a -> 'b -> 'c) -> 'a list -> 'b list -> 'c list @@ 284 + portable 216 285 val fold_left2 : 217 - ('acc -> 'a -> 'b -> 'acc) -> 'acc -> 'a list -> 'b list -> 'acc 286 + ('acc -> 'a -> 'b -> 'acc) -> 'acc -> 'a list -> 'b list -> 'acc @@ 287 + portable 218 288 val fold_right2 : 219 - ('a -> 'b -> 'acc -> 'acc) -> 'a list -> 'b list -> 'acc -> 'acc 220 - val for_all : ('a -> bool) -> 'a list -> bool 221 - val exists : ('a -> bool) -> 'a list -> bool 222 - val for_all2 : ('a -> 'b -> bool) -> 'a list -> 'b list -> bool 223 - val exists2 : ('a -> 'b -> bool) -> 'a list -> 'b list -> bool 224 - val mem : 'a -> 'a list -> bool 225 - val memq : 'a -> 'a list -> bool 226 - val find : ('a -> bool) -> 'a list -> 'a 227 - val find_opt : ('a -> bool) -> 'a list -> 'a option 228 - val find_index : ('a -> bool) -> 'a list -> int option 229 - val find_map : ('a -> 'b option) -> 'a list -> 'b option 230 - val find_mapi : (int -> 'a -> 'b option) -> 'a list -> 'b option 231 - val filter : ('a -> bool) -> 'a list -> 'a list 232 - val find_all : ('a -> bool) -> 'a list -> 'a list 233 - val filteri : (int -> 'a -> bool) -> 'a list -> 'a list 234 - val take : int -> 'a list -> 'a list 235 - val drop : int -> 'a list -> 'a list 236 - val take_while : ('a -> bool) -> 'a list -> 'a list 237 - val drop_while : ('a -> bool) -> 'a list -> 'a list 238 - val partition : ('a -> bool) -> 'a list -> 'a list * 'a list 289 + ('a -> 'b -> 'acc -> 'acc) -> 'a list -> 'b list -> 'acc -> 'acc @@ 290 + portable 291 + val for_all : ('a -> bool) -> 'a list -> bool @@ portable 292 + val exists : ('a -> bool) -> 'a list -> bool @@ portable 293 + val for_all2 : ('a -> 'b -> bool) -> 'a list -> 'b list -> bool @@ 294 + portable 295 + val exists2 : ('a -> 'b -> bool) -> 'a list -> 'b list -> bool @@ 296 + portable 297 + val mem : 'a @ local -> 'a list @ local -> bool @@ portable 298 + val memq : 'a @ local -> 'a list @ local -> bool @@ portable 299 + val find : ('a -> bool) -> 'a list -> 'a @@ portable 300 + val find_opt : ('a -> bool) -> 'a list -> 'a option @@ portable 301 + val find_index : ('a -> bool) -> 'a list -> int option @@ portable 302 + val find_map : ('a -> 'b option) -> 'a list -> 'b option @@ portable 303 + val find_mapi : (int -> 'a -> 'b option) -> 'a list -> 'b option @@ 304 + portable 305 + val filter : ('a -> bool) -> 'a list -> 'a list @@ portable 306 + val find_all : ('a -> bool) -> 'a list -> 'a list @@ portable 307 + val filteri : (int -> 'a -> bool) -> 'a list -> 'a list @@ portable 308 + val partition : ('a -> bool) -> 'a list -> 'a list * 'a list @@ portable 239 309 val partition_map : 240 - ('a -> ('b, 'c) Either.t) -> 'a list -> 'b list * 'c list 241 - val assoc : 'a -> ('a * 'b) list -> 'b 242 - val assoc_opt : 'a -> ('a * 'b) list -> 'b option 243 - val assq : 'a -> ('a * 'b) list -> 'b 244 - val assq_opt : 'a -> ('a * 'b) list -> 'b option 245 - val mem_assoc : 'a -> ('a * 'b) list -> bool 246 - val mem_assq : 'a -> ('a * 'b) list -> bool 247 - val remove_assoc : 'a -> ('a * 'b) list -> ('a * 'b) list 248 - val remove_assq : 'a -> ('a * 'b) list -> ('a * 'b) list 249 - val split : ('a * 'b) list -> 'a list * 'b list 250 - val combine : 'a list -> 'b list -> ('a * 'b) list 251 - val sort : ('a -> 'a -> int) -> 'a list -> 'a list 252 - val stable_sort : ('a -> 'a -> int) -> 'a list -> 'a list 253 - val fast_sort : ('a -> 'a -> int) -> 'a list -> 'a list 254 - val sort_uniq : ('a -> 'a -> int) -> 'a list -> 'a list 255 - val merge : ('a -> 'a -> int) -> 'a list -> 'a list -> 'a list 256 - val to_seq : 'a list -> 'a Seq.t 257 - val of_seq : 'a Seq.t -> 'a list 310 + ('a -> ('b, 'c) Either.t) -> 'a list -> 'b list * 'c list @@ portable 311 + val assoc : 'a -> ('a * 'b) list -> 'b @@ portable 312 + val assoc_opt : 'a -> ('a * 'b) list -> 'b option @@ portable 313 + val assq : 'a -> ('a * 'b) list -> 'b @@ portable 314 + val assq_opt : 'a -> ('a * 'b) list -> 'b option @@ portable 315 + val mem_assoc : 'a -> ('a * 'b) list -> bool @@ portable 316 + val mem_assq : 'a -> ('a * 'b) list -> bool @@ portable 317 + val remove_assoc : 'a -> ('a * 'b) list -> ('a * 'b) list @@ portable 318 + val remove_assq : 'a -> ('a * 'b) list -> ('a * 'b) list @@ portable 319 + val split : ('a * 'b) list -> 'a list * 'b list @@ portable 320 + val combine : 'a list -> 'b list -> ('a * 'b) list @@ portable 321 + val sort : ('a -> 'a -> int) -> 'a list -> 'a list @@ portable 322 + val stable_sort : ('a -> 'a -> int) -> 'a list -> 'a list @@ portable 323 + val fast_sort : ('a -> 'a -> int) -> 'a list -> 'a list @@ portable 324 + val sort_uniq : ('a -> 'a -> int) -> 'a list -> 'a list @@ portable 325 + val merge : ('a -> 'a -> int) -> 'a list -> 'a list -> 'a list @@ 326 + portable 327 + val to_seq : 'a list -> 'a Seq.t @@ portable 328 + val of_seq : 'a Seq.t -> 'a list @@ portable 258 329 end 259 330 [PASS] show_exception_not_found: # #show_exception Not_found;; 260 331 exception Not_found ··· 290 361 --- Section 6: #rectypes --- 291 362 292 363 Line 1, characters 0-23: 293 - Error: The type abbreviation t is cyclic: 294 - 'a t = 'a t -> int, 295 - 'a t -> int contains 'a t 364 + Error: The type abbreviation "t" is cyclic: 365 + "'a t" = "'a t -> int", 366 + "'a t -> int" contains "'a t" 296 367 [FAIL] rectypes_before: # type 'a t = 'a t -> int;; 297 368 [PASS] rectypes_after: # type 'a u = 'a u -> int;; 298 369 type 'a u = 'a u -> int ··· 324 395 class counter : 325 396 object val mutable n : int method get : int method incr : unit end 326 397 327 - === Results: 29/31 tests passed === 398 + === Results: 28/31 tests passed === 328 399 FAILURE: Some tests failed.
+84 -18
test/node/node_env_test.expected
··· 2 2 3 3 node_env_test.js: [INFO] init() 4 4 Initializing findlib 5 - Loaded findlib_index findlib_index.json: 10 META files, 0 universes 5 + Loaded findlib_index findlib_index.json: 19 META files, 0 universes 6 6 Parsed uri: ./lib/stdlib-shims/META 7 7 Reading library: stdlib-shims 8 8 Number of children: 0 9 9 Parsed uri: ./lib/sexplib0/META 10 10 Reading library: sexplib0 11 + Number of children: 0 12 + Parsed uri: ./lib/sexp_type/META 13 + Reading library: sexp_type 14 + Number of children: 1 15 + Found child: grammar 16 + Reading library: sexp_type.grammar 17 + Number of children: 0 18 + Parsed uri: ./lib/ppxlib_jane/META 19 + Reading library: ppxlib_jane 20 + Number of children: 0 21 + Parsed uri: ./lib/ppxlib_ast/META 22 + Reading library: ppxlib_ast 23 + Number of children: 4 24 + Found child: ast 25 + Reading library: ppxlib_ast.ast 26 + Number of children: 0 27 + Found child: astlib 28 + Reading library: ppxlib_ast.astlib 29 + Number of children: 0 30 + Found child: stdppx 31 + Reading library: ppxlib_ast.stdppx 32 + Number of children: 0 33 + Found child: traverse_builtins 34 + Reading library: ppxlib_ast.traverse_builtins 11 35 Number of children: 0 12 36 Parsed uri: ./lib/ppxlib/META 13 37 Reading library: ppxlib 14 - Number of children: 11 15 - Found child: __private__ 16 - Reading library: ppxlib.__private__ 17 - Number of children: 1 18 - Found child: ppx_foo_deriver 19 - Reading library: ppxlib.__private__.ppx_foo_deriver 20 - Number of children: 0 38 + Number of children: 10 21 39 Found child: ast 22 40 Reading library: ppxlib.ast 23 41 Number of children: 0 ··· 48 66 Found child: traverse_builtins 49 67 Reading library: ppxlib.traverse_builtins 50 68 Number of children: 0 69 + Parsed uri: ./lib/ppx_sexp_conv/META 70 + Reading library: ppx_sexp_conv 71 + Number of children: 2 72 + Found child: expander 73 + Reading library: ppx_sexp_conv.expander 74 + Number of children: 0 75 + Found child: runtime-lib 76 + Reading library: ppx_sexp_conv.runtime-lib 77 + Number of children: 0 78 + Parsed uri: ./lib/ppx_hash/META 79 + Reading library: ppx_hash 80 + Number of children: 3 81 + Found child: base_internalhash_types 82 + Reading library: ppx_hash.base_internalhash_types 83 + Number of children: 0 84 + Found child: expander 85 + Reading library: ppx_hash.expander 86 + Number of children: 0 87 + Found child: runtime-lib 88 + Reading library: ppx_hash.runtime-lib 89 + Number of children: 0 90 + Parsed uri: ./lib/ppx_enumerate/META 91 + Reading library: ppx_enumerate 92 + Number of children: 1 93 + Found child: runtime-lib 94 + Reading library: ppx_enumerate.runtime-lib 95 + Number of children: 0 51 96 Parsed uri: ./lib/ppx_deriving/META 52 97 Reading library: ppx_deriving 53 98 Number of children: 12 ··· 90 135 Parsed uri: ./lib/ppx_derivers/META 91 136 Reading library: ppx_derivers 92 137 Number of children: 0 138 + Parsed uri: ./lib/ppx_compare/META 139 + Reading library: ppx_compare 140 + Number of children: 2 141 + Found child: expander 142 + Reading library: ppx_compare.expander 143 + Number of children: 0 144 + Found child: runtime-lib 145 + Reading library: ppx_compare.runtime-lib 146 + Number of children: 0 93 147 Parsed uri: ./lib/ocaml_intrinsics_kernel/META 94 148 Reading library: ocaml_intrinsics_kernel 95 149 Number of children: 0 ··· 132 186 Found child: toplevel 133 187 Reading library: ocaml-compiler-libs.toplevel 134 188 Number of children: 0 189 + Parsed uri: ./lib/capsule0/META 190 + Reading library: capsule0 191 + Number of children: 2 192 + Found child: blocking_sync 193 + Reading library: capsule0.blocking_sync 194 + Number of children: 0 195 + Found child: expert 196 + Reading library: capsule0.expert 197 + Number of children: 0 198 + Parsed uri: ./lib/basement/META 199 + Reading library: basement 200 + Number of children: 0 135 201 Parsed uri: ./lib/base/META 136 202 Reading library: base 137 203 Number of children: 3 138 - Found child: base_internalhash_types 139 - Reading library: base.base_internalhash_types 204 + Found child: composition_infix 205 + Reading library: base.composition_infix 140 206 Number of children: 0 141 207 Found child: md5 142 208 Reading library: base.md5 ··· 145 211 Reading library: base.shadow_stdlib 146 212 Number of children: 0 147 213 node_env_test.js: [INFO] Adding toplevel modules for dynamic cmis from lib/ocaml/ 148 - node_env_test.js: [INFO] toplevel modules: CamlinternalFormat, CamlinternalLazy, CamlinternalFormatBasics, CamlinternalMod, Std_exit, Stdlib, CamlinternalOO 214 + node_env_test.js: [INFO] toplevel modules: Camlinternaleval, CamlinternalFormat, CamlinternalLazy, CamlinternalAtomic, CamlinternalFormatBasics, Compiler_owee, Opttopdirs, CamlinternalComprehension, Gc_timings, CamlinternalQuote, CamlinternalMod, Std_exit, Stdlib, CamlinternalOO, Topdirs 149 215 node_env_test.js: [INFO] init() finished 150 216 --- Section 1: Default Environment --- 151 217 node_env_test.js: [INFO] setup() for env default... ··· 175 241 176 242 --- Section 3: Environment Isolation --- 177 243 Line 1, characters 0-11: 178 - Error: Unbound value default_val 244 + Error: Unbound value "default_val" 179 245 [PASS] isolation_default_from_env1: No leakage: # default_val;; 180 246 181 247 Line 1, characters 0-8: 182 - Error: Unbound value env1_val 248 + Error: Unbound value "env1_val" 183 249 [PASS] isolation_env1_from_default: No leakage: # env1_val;; 184 250 [PASS] default_still_works: # default_val;; 185 251 - : int = 42 ··· 196 262 val env2_val : int = 200 197 263 198 264 Line 1, characters 0-8: 199 - Error: Unbound value env1_val 200 - Hint: Did you mean env2_val? 265 + Error: Unbound value "env1_val" 266 + Hint: Did you mean "env2_val"? 201 267 [PASS] isolation_env1_from_env2: No leakage: # env1_val;; 202 268 203 269 Line 1, characters 0-8: 204 - Error: Unbound value env2_val 205 - Hint: Did you mean env1_val? 270 + Error: Unbound value "env2_val" 271 + Hint: Did you mean "env1_val"? 206 272 [PASS] isolation_env2_from_env1: No leakage: # env2_val;; 207 273 208 274 --- Section 5: List Environments --- ··· 228 294 node_env_test.js: [INFO] setup() finished for env env2 229 295 230 296 Line 1, characters 0-8: 231 - Error: Unbound value env2_val 297 + Error: Unbound value "env2_val" 232 298 [PASS] new_env2_clean: Old value gone: # env2_val;; 233 299 [PASS] new_env2_define: # let new_env2_val = 999;; 234 300 val new_env2_val : int = 999
+94 -11
test/node/node_incremental_test.expected
··· 1 1 node_incremental_test.js: [INFO] init() 2 2 Initializing findlib 3 3 node_incremental_test.js: [INFO] async_get: _opam/findlib_index.json 4 - Loaded findlib_index findlib_index.json: 10 META files, 0 universes 4 + Loaded findlib_index findlib_index.json: 19 META files, 0 universes 5 5 node_incremental_test.js: [INFO] async_get: _opam/./lib/stdlib-shims/META 6 6 Parsed uri: ./lib/stdlib-shims/META 7 7 Reading library: stdlib-shims ··· 10 10 Parsed uri: ./lib/sexplib0/META 11 11 Reading library: sexplib0 12 12 Number of children: 0 13 + node_incremental_test.js: [INFO] async_get: _opam/./lib/sexp_type/META 14 + Parsed uri: ./lib/sexp_type/META 15 + Reading library: sexp_type 16 + Number of children: 1 17 + Found child: grammar 18 + Reading library: sexp_type.grammar 19 + Number of children: 0 20 + node_incremental_test.js: [INFO] async_get: _opam/./lib/ppxlib_jane/META 21 + Parsed uri: ./lib/ppxlib_jane/META 22 + Reading library: ppxlib_jane 23 + Number of children: 0 24 + node_incremental_test.js: [INFO] async_get: _opam/./lib/ppxlib_ast/META 25 + Parsed uri: ./lib/ppxlib_ast/META 26 + Reading library: ppxlib_ast 27 + Number of children: 4 28 + Found child: ast 29 + Reading library: ppxlib_ast.ast 30 + Number of children: 0 31 + Found child: astlib 32 + Reading library: ppxlib_ast.astlib 33 + Number of children: 0 34 + Found child: stdppx 35 + Reading library: ppxlib_ast.stdppx 36 + Number of children: 0 37 + Found child: traverse_builtins 38 + Reading library: ppxlib_ast.traverse_builtins 39 + Number of children: 0 13 40 node_incremental_test.js: [INFO] async_get: _opam/./lib/ppxlib/META 14 41 Parsed uri: ./lib/ppxlib/META 15 42 Reading library: ppxlib 16 - Number of children: 11 17 - Found child: __private__ 18 - Reading library: ppxlib.__private__ 19 - Number of children: 1 20 - Found child: ppx_foo_deriver 21 - Reading library: ppxlib.__private__.ppx_foo_deriver 22 - Number of children: 0 43 + Number of children: 10 23 44 Found child: ast 24 45 Reading library: ppxlib.ast 25 46 Number of children: 0 ··· 50 71 Found child: traverse_builtins 51 72 Reading library: ppxlib.traverse_builtins 52 73 Number of children: 0 74 + node_incremental_test.js: [INFO] async_get: _opam/./lib/ppx_sexp_conv/META 75 + Parsed uri: ./lib/ppx_sexp_conv/META 76 + Reading library: ppx_sexp_conv 77 + Number of children: 2 78 + Found child: expander 79 + Reading library: ppx_sexp_conv.expander 80 + Number of children: 0 81 + Found child: runtime-lib 82 + Reading library: ppx_sexp_conv.runtime-lib 83 + Number of children: 0 84 + node_incremental_test.js: [INFO] async_get: _opam/./lib/ppx_hash/META 85 + Parsed uri: ./lib/ppx_hash/META 86 + Reading library: ppx_hash 87 + Number of children: 3 88 + Found child: base_internalhash_types 89 + Reading library: ppx_hash.base_internalhash_types 90 + Number of children: 0 91 + Found child: expander 92 + Reading library: ppx_hash.expander 93 + Number of children: 0 94 + Found child: runtime-lib 95 + Reading library: ppx_hash.runtime-lib 96 + Number of children: 0 97 + node_incremental_test.js: [INFO] async_get: _opam/./lib/ppx_enumerate/META 98 + Parsed uri: ./lib/ppx_enumerate/META 99 + Reading library: ppx_enumerate 100 + Number of children: 1 101 + Found child: runtime-lib 102 + Reading library: ppx_enumerate.runtime-lib 103 + Number of children: 0 53 104 node_incremental_test.js: [INFO] async_get: _opam/./lib/ppx_deriving/META 54 105 Parsed uri: ./lib/ppx_deriving/META 55 106 Reading library: ppx_deriving ··· 94 145 Parsed uri: ./lib/ppx_derivers/META 95 146 Reading library: ppx_derivers 96 147 Number of children: 0 148 + node_incremental_test.js: [INFO] async_get: _opam/./lib/ppx_compare/META 149 + Parsed uri: ./lib/ppx_compare/META 150 + Reading library: ppx_compare 151 + Number of children: 2 152 + Found child: expander 153 + Reading library: ppx_compare.expander 154 + Number of children: 0 155 + Found child: runtime-lib 156 + Reading library: ppx_compare.runtime-lib 157 + Number of children: 0 97 158 node_incremental_test.js: [INFO] async_get: _opam/./lib/ocaml_intrinsics_kernel/META 98 159 Parsed uri: ./lib/ocaml_intrinsics_kernel/META 99 160 Reading library: ocaml_intrinsics_kernel ··· 140 201 Found child: toplevel 141 202 Reading library: ocaml-compiler-libs.toplevel 142 203 Number of children: 0 204 + node_incremental_test.js: [INFO] async_get: _opam/./lib/capsule0/META 205 + Parsed uri: ./lib/capsule0/META 206 + Reading library: capsule0 207 + Number of children: 2 208 + Found child: blocking_sync 209 + Reading library: capsule0.blocking_sync 210 + Number of children: 0 211 + Found child: expert 212 + Reading library: capsule0.expert 213 + Number of children: 0 214 + node_incremental_test.js: [INFO] async_get: _opam/./lib/basement/META 215 + Parsed uri: ./lib/basement/META 216 + Reading library: basement 217 + Number of children: 0 143 218 node_incremental_test.js: [INFO] async_get: _opam/./lib/base/META 144 219 Parsed uri: ./lib/base/META 145 220 Reading library: base 146 221 Number of children: 3 147 - Found child: base_internalhash_types 148 - Reading library: base.base_internalhash_types 222 + Found child: composition_infix 223 + Reading library: base.composition_infix 149 224 Number of children: 0 150 225 Found child: md5 151 226 Reading library: base.md5 ··· 155 230 Number of children: 0 156 231 node_incremental_test.js: [INFO] sync_get: _opam/lib/ocaml/dynamic_cmis.json 157 232 node_incremental_test.js: [INFO] Adding toplevel modules for dynamic cmis from lib/ocaml/ 158 - node_incremental_test.js: [INFO] toplevel modules: CamlinternalFormat, CamlinternalLazy, CamlinternalFormatBasics, CamlinternalMod, Std_exit, Stdlib, CamlinternalOO 233 + node_incremental_test.js: [INFO] toplevel modules: Camlinternaleval, CamlinternalFormat, CamlinternalLazy, CamlinternalAtomic, CamlinternalFormatBasics, Compiler_owee, Opttopdirs, CamlinternalComprehension, Gc_timings, CamlinternalQuote, CamlinternalMod, Std_exit, Stdlib, CamlinternalOO, Topdirs 234 + node_incremental_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternaleval.cmi 159 235 node_incremental_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternalFormat.cmi 160 236 node_incremental_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternalLazy.cmi 237 + node_incremental_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternalAtomic.cmi 161 238 node_incremental_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternalFormatBasics.cmi 239 + node_incremental_test.js: [INFO] async_get: _opam/lib/ocaml/compiler_owee.cmi 240 + node_incremental_test.js: [INFO] async_get: _opam/lib/ocaml/opttopdirs.cmi 241 + node_incremental_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternalComprehension.cmi 242 + node_incremental_test.js: [INFO] async_get: _opam/lib/ocaml/gc_timings.cmi 243 + node_incremental_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternalQuote.cmi 162 244 node_incremental_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternalMod.cmi 163 245 node_incremental_test.js: [INFO] async_get: _opam/lib/ocaml/std_exit.cmi 164 246 node_incremental_test.js: [INFO] async_get: _opam/lib/ocaml/stdlib.cmi 165 247 node_incremental_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternalOO.cmi 248 + node_incremental_test.js: [INFO] async_get: _opam/lib/ocaml/topdirs.cmi 166 249 node_incremental_test.js: [INFO] init() finished 167 250 node_incremental_test.js: [INFO] setup() for env default... 168 251 node_incremental_test.js: [INFO] Fetching stdlib__Format.cmi
+77 -11
test/node/node_mime_test.expected
··· 2 2 3 3 node_mime_test.js: [INFO] init() 4 4 Initializing findlib 5 - Loaded findlib_index findlib_index.json: 10 META files, 0 universes 5 + Loaded findlib_index findlib_index.json: 19 META files, 0 universes 6 6 Parsed uri: ./lib/stdlib-shims/META 7 7 Reading library: stdlib-shims 8 8 Number of children: 0 9 9 Parsed uri: ./lib/sexplib0/META 10 10 Reading library: sexplib0 11 11 Number of children: 0 12 - Parsed uri: ./lib/ppxlib/META 13 - Reading library: ppxlib 14 - Number of children: 11 15 - Found child: __private__ 16 - Reading library: ppxlib.__private__ 12 + Parsed uri: ./lib/sexp_type/META 13 + Reading library: sexp_type 17 14 Number of children: 1 18 - Found child: ppx_foo_deriver 19 - Reading library: ppxlib.__private__.ppx_foo_deriver 15 + Found child: grammar 16 + Reading library: sexp_type.grammar 20 17 Number of children: 0 18 + Parsed uri: ./lib/ppxlib_jane/META 19 + Reading library: ppxlib_jane 20 + Number of children: 0 21 + Parsed uri: ./lib/ppxlib_ast/META 22 + Reading library: ppxlib_ast 23 + Number of children: 4 24 + Found child: ast 25 + Reading library: ppxlib_ast.ast 26 + Number of children: 0 27 + Found child: astlib 28 + Reading library: ppxlib_ast.astlib 29 + Number of children: 0 30 + Found child: stdppx 31 + Reading library: ppxlib_ast.stdppx 32 + Number of children: 0 33 + Found child: traverse_builtins 34 + Reading library: ppxlib_ast.traverse_builtins 35 + Number of children: 0 36 + Parsed uri: ./lib/ppxlib/META 37 + Reading library: ppxlib 38 + Number of children: 10 21 39 Found child: ast 22 40 Reading library: ppxlib.ast 23 41 Number of children: 0 ··· 48 66 Found child: traverse_builtins 49 67 Reading library: ppxlib.traverse_builtins 50 68 Number of children: 0 69 + Parsed uri: ./lib/ppx_sexp_conv/META 70 + Reading library: ppx_sexp_conv 71 + Number of children: 2 72 + Found child: expander 73 + Reading library: ppx_sexp_conv.expander 74 + Number of children: 0 75 + Found child: runtime-lib 76 + Reading library: ppx_sexp_conv.runtime-lib 77 + Number of children: 0 78 + Parsed uri: ./lib/ppx_hash/META 79 + Reading library: ppx_hash 80 + Number of children: 3 81 + Found child: base_internalhash_types 82 + Reading library: ppx_hash.base_internalhash_types 83 + Number of children: 0 84 + Found child: expander 85 + Reading library: ppx_hash.expander 86 + Number of children: 0 87 + Found child: runtime-lib 88 + Reading library: ppx_hash.runtime-lib 89 + Number of children: 0 90 + Parsed uri: ./lib/ppx_enumerate/META 91 + Reading library: ppx_enumerate 92 + Number of children: 1 93 + Found child: runtime-lib 94 + Reading library: ppx_enumerate.runtime-lib 95 + Number of children: 0 51 96 Parsed uri: ./lib/ppx_deriving/META 52 97 Reading library: ppx_deriving 53 98 Number of children: 12 ··· 90 135 Parsed uri: ./lib/ppx_derivers/META 91 136 Reading library: ppx_derivers 92 137 Number of children: 0 138 + Parsed uri: ./lib/ppx_compare/META 139 + Reading library: ppx_compare 140 + Number of children: 2 141 + Found child: expander 142 + Reading library: ppx_compare.expander 143 + Number of children: 0 144 + Found child: runtime-lib 145 + Reading library: ppx_compare.runtime-lib 146 + Number of children: 0 93 147 Parsed uri: ./lib/ocaml_intrinsics_kernel/META 94 148 Reading library: ocaml_intrinsics_kernel 95 149 Number of children: 0 ··· 132 186 Found child: toplevel 133 187 Reading library: ocaml-compiler-libs.toplevel 134 188 Number of children: 0 189 + Parsed uri: ./lib/capsule0/META 190 + Reading library: capsule0 191 + Number of children: 2 192 + Found child: blocking_sync 193 + Reading library: capsule0.blocking_sync 194 + Number of children: 0 195 + Found child: expert 196 + Reading library: capsule0.expert 197 + Number of children: 0 198 + Parsed uri: ./lib/basement/META 199 + Reading library: basement 200 + Number of children: 0 135 201 Parsed uri: ./lib/base/META 136 202 Reading library: base 137 203 Number of children: 3 138 - Found child: base_internalhash_types 139 - Reading library: base.base_internalhash_types 204 + Found child: composition_infix 205 + Reading library: base.composition_infix 140 206 Number of children: 0 141 207 Found child: md5 142 208 Reading library: base.md5 ··· 145 211 Reading library: base.shadow_stdlib 146 212 Number of children: 0 147 213 node_mime_test.js: [INFO] Adding toplevel modules for dynamic cmis from lib/ocaml/ 148 - node_mime_test.js: [INFO] toplevel modules: CamlinternalFormat, CamlinternalLazy, CamlinternalFormatBasics, CamlinternalMod, Std_exit, Stdlib, CamlinternalOO 214 + node_mime_test.js: [INFO] toplevel modules: Camlinternaleval, CamlinternalFormat, CamlinternalLazy, CamlinternalAtomic, CamlinternalFormatBasics, Compiler_owee, Opttopdirs, CamlinternalComprehension, Gc_timings, CamlinternalQuote, CamlinternalMod, Std_exit, Stdlib, CamlinternalOO, Topdirs 149 215 node_mime_test.js: [INFO] init() finished 150 216 node_mime_test.js: [INFO] setup() for env default... 151 217 node_mime_test.js: [INFO] Fetching stdlib__Format.cmi
+79 -11
test/node/node_ppx_test.expected
··· 2 2 3 3 node_ppx_test.js: [INFO] init() 4 4 Initializing findlib 5 - Loaded findlib_index findlib_index.json: 10 META files, 0 universes 5 + Loaded findlib_index findlib_index.json: 19 META files, 0 universes 6 6 Parsed uri: ./lib/stdlib-shims/META 7 7 Reading library: stdlib-shims 8 8 Number of children: 0 9 9 Parsed uri: ./lib/sexplib0/META 10 10 Reading library: sexplib0 11 11 Number of children: 0 12 + Parsed uri: ./lib/sexp_type/META 13 + Reading library: sexp_type 14 + Number of children: 1 15 + Found child: grammar 16 + Reading library: sexp_type.grammar 17 + Number of children: 0 18 + Parsed uri: ./lib/ppxlib_jane/META 19 + Reading library: ppxlib_jane 20 + Number of children: 0 21 + Parsed uri: ./lib/ppxlib_ast/META 22 + Reading library: ppxlib_ast 23 + Number of children: 4 24 + Found child: ast 25 + Reading library: ppxlib_ast.ast 26 + Number of children: 0 27 + Found child: astlib 28 + Reading library: ppxlib_ast.astlib 29 + Number of children: 0 30 + Found child: stdppx 31 + Reading library: ppxlib_ast.stdppx 32 + Number of children: 0 33 + Found child: traverse_builtins 34 + Reading library: ppxlib_ast.traverse_builtins 35 + Number of children: 0 12 36 Parsed uri: ./lib/ppxlib/META 13 37 Reading library: ppxlib 14 - Number of children: 11 15 - Found child: __private__ 16 - Reading library: ppxlib.__private__ 17 - Number of children: 1 18 - Found child: ppx_foo_deriver 19 - Reading library: ppxlib.__private__.ppx_foo_deriver 20 - Number of children: 0 38 + Number of children: 10 21 39 Found child: ast 22 40 Reading library: ppxlib.ast 23 41 Number of children: 0 ··· 48 66 Found child: traverse_builtins 49 67 Reading library: ppxlib.traverse_builtins 50 68 Number of children: 0 69 + Parsed uri: ./lib/ppx_sexp_conv/META 70 + Reading library: ppx_sexp_conv 71 + Number of children: 2 72 + Found child: expander 73 + Reading library: ppx_sexp_conv.expander 74 + Number of children: 0 75 + Found child: runtime-lib 76 + Reading library: ppx_sexp_conv.runtime-lib 77 + Number of children: 0 78 + Parsed uri: ./lib/ppx_hash/META 79 + Reading library: ppx_hash 80 + Number of children: 3 81 + Found child: base_internalhash_types 82 + Reading library: ppx_hash.base_internalhash_types 83 + Number of children: 0 84 + Found child: expander 85 + Reading library: ppx_hash.expander 86 + Number of children: 0 87 + Found child: runtime-lib 88 + Reading library: ppx_hash.runtime-lib 89 + Number of children: 0 90 + Parsed uri: ./lib/ppx_enumerate/META 91 + Reading library: ppx_enumerate 92 + Number of children: 1 93 + Found child: runtime-lib 94 + Reading library: ppx_enumerate.runtime-lib 95 + Number of children: 0 51 96 Parsed uri: ./lib/ppx_deriving/META 52 97 Reading library: ppx_deriving 53 98 Number of children: 12 ··· 90 135 Parsed uri: ./lib/ppx_derivers/META 91 136 Reading library: ppx_derivers 92 137 Number of children: 0 138 + Parsed uri: ./lib/ppx_compare/META 139 + Reading library: ppx_compare 140 + Number of children: 2 141 + Found child: expander 142 + Reading library: ppx_compare.expander 143 + Number of children: 0 144 + Found child: runtime-lib 145 + Reading library: ppx_compare.runtime-lib 146 + Number of children: 0 93 147 Parsed uri: ./lib/ocaml_intrinsics_kernel/META 94 148 Reading library: ocaml_intrinsics_kernel 95 149 Number of children: 0 ··· 132 186 Found child: toplevel 133 187 Reading library: ocaml-compiler-libs.toplevel 134 188 Number of children: 0 189 + Parsed uri: ./lib/capsule0/META 190 + Reading library: capsule0 191 + Number of children: 2 192 + Found child: blocking_sync 193 + Reading library: capsule0.blocking_sync 194 + Number of children: 0 195 + Found child: expert 196 + Reading library: capsule0.expert 197 + Number of children: 0 198 + Parsed uri: ./lib/basement/META 199 + Reading library: basement 200 + Number of children: 0 135 201 Parsed uri: ./lib/base/META 136 202 Reading library: base 137 203 Number of children: 3 138 - Found child: base_internalhash_types 139 - Reading library: base.base_internalhash_types 204 + Found child: composition_infix 205 + Reading library: base.composition_infix 140 206 Number of children: 0 141 207 Found child: md5 142 208 Reading library: base.md5 ··· 145 211 Reading library: base.shadow_stdlib 146 212 Number of children: 0 147 213 node_ppx_test.js: [INFO] Adding toplevel modules for dynamic cmis from lib/ocaml/ 148 - node_ppx_test.js: [INFO] toplevel modules: CamlinternalFormat, CamlinternalLazy, CamlinternalFormatBasics, CamlinternalMod, Std_exit, Stdlib, CamlinternalOO 214 + node_ppx_test.js: [INFO] toplevel modules: Camlinternaleval, CamlinternalFormat, CamlinternalLazy, CamlinternalAtomic, CamlinternalFormatBasics, Compiler_owee, Opttopdirs, CamlinternalComprehension, Gc_timings, CamlinternalQuote, CamlinternalMod, Std_exit, Stdlib, CamlinternalOO, Topdirs 149 215 node_ppx_test.js: [INFO] init() finished 150 216 node_ppx_test.js: [INFO] setup() for env default... 151 217 node_ppx_test.js: [INFO] Fetching stdlib__Format.cmi ··· 163 229 Loading package ppx_deriving.runtime 164 230 lib.dir: runtime 165 231 uri: ./lib/ppx_deriving/runtime/dynamic_cmis.json 232 + Archive ppx_deriving_runtime.cma not preloaded, loading 1 units 166 233 importScripts: ./lib/ppx_deriving/runtime/ppx_deriving_runtime.cma.js 167 234 Finished loading package ppx_deriving.runtime 168 235 Loading package ppx_deriving ··· 170 237 uri: ./lib/ppx_deriving/dynamic_cmis.json 171 238 Failed to unmarshal dynamic_cms from url ./lib/ppx_deriving/dynamic_cmis.json: Failed to fetch dynamic cmis 172 239 uri: ./lib/ppx_deriving/show/dynamic_cmis.json 240 + Archive ppx_deriving_show.cma not preloaded, loading 1 units 173 241 importScripts: ./lib/ppx_deriving/show/ppx_deriving_show.cma.js 174 242 node_ppx_test.js: [INFO] Error: TypeError: Cannot read properties of undefined (reading '6')
+107 -27
test/node/node_test.expected
··· 2 2 node_test.js: [INFO] init() 3 3 Initializing findlib 4 4 node_test.js: [INFO] async_get: _opam/findlib_index.json 5 - Loaded findlib_index findlib_index.json: 10 META files, 0 universes 5 + Loaded findlib_index findlib_index.json: 19 META files, 0 universes 6 6 node_test.js: [INFO] async_get: _opam/./lib/stdlib-shims/META 7 7 Parsed uri: ./lib/stdlib-shims/META 8 8 Reading library: stdlib-shims ··· 11 11 Parsed uri: ./lib/sexplib0/META 12 12 Reading library: sexplib0 13 13 Number of children: 0 14 + node_test.js: [INFO] async_get: _opam/./lib/sexp_type/META 15 + Parsed uri: ./lib/sexp_type/META 16 + Reading library: sexp_type 17 + Number of children: 1 18 + Found child: grammar 19 + Reading library: sexp_type.grammar 20 + Number of children: 0 21 + node_test.js: [INFO] async_get: _opam/./lib/ppxlib_jane/META 22 + Parsed uri: ./lib/ppxlib_jane/META 23 + Reading library: ppxlib_jane 24 + Number of children: 0 25 + node_test.js: [INFO] async_get: _opam/./lib/ppxlib_ast/META 26 + Parsed uri: ./lib/ppxlib_ast/META 27 + Reading library: ppxlib_ast 28 + Number of children: 4 29 + Found child: ast 30 + Reading library: ppxlib_ast.ast 31 + Number of children: 0 32 + Found child: astlib 33 + Reading library: ppxlib_ast.astlib 34 + Number of children: 0 35 + Found child: stdppx 36 + Reading library: ppxlib_ast.stdppx 37 + Number of children: 0 38 + Found child: traverse_builtins 39 + Reading library: ppxlib_ast.traverse_builtins 40 + Number of children: 0 14 41 node_test.js: [INFO] async_get: _opam/./lib/ppxlib/META 15 42 Parsed uri: ./lib/ppxlib/META 16 43 Reading library: ppxlib 17 - Number of children: 11 18 - Found child: __private__ 19 - Reading library: ppxlib.__private__ 20 - Number of children: 1 21 - Found child: ppx_foo_deriver 22 - Reading library: ppxlib.__private__.ppx_foo_deriver 23 - Number of children: 0 44 + Number of children: 10 24 45 Found child: ast 25 46 Reading library: ppxlib.ast 26 47 Number of children: 0 ··· 50 71 Number of children: 0 51 72 Found child: traverse_builtins 52 73 Reading library: ppxlib.traverse_builtins 74 + Number of children: 0 75 + node_test.js: [INFO] async_get: _opam/./lib/ppx_sexp_conv/META 76 + Parsed uri: ./lib/ppx_sexp_conv/META 77 + Reading library: ppx_sexp_conv 78 + Number of children: 2 79 + Found child: expander 80 + Reading library: ppx_sexp_conv.expander 81 + Number of children: 0 82 + Found child: runtime-lib 83 + Reading library: ppx_sexp_conv.runtime-lib 84 + Number of children: 0 85 + node_test.js: [INFO] async_get: _opam/./lib/ppx_hash/META 86 + Parsed uri: ./lib/ppx_hash/META 87 + Reading library: ppx_hash 88 + Number of children: 3 89 + Found child: base_internalhash_types 90 + Reading library: ppx_hash.base_internalhash_types 91 + Number of children: 0 92 + Found child: expander 93 + Reading library: ppx_hash.expander 94 + Number of children: 0 95 + Found child: runtime-lib 96 + Reading library: ppx_hash.runtime-lib 97 + Number of children: 0 98 + node_test.js: [INFO] async_get: _opam/./lib/ppx_enumerate/META 99 + Parsed uri: ./lib/ppx_enumerate/META 100 + Reading library: ppx_enumerate 101 + Number of children: 1 102 + Found child: runtime-lib 103 + Reading library: ppx_enumerate.runtime-lib 53 104 Number of children: 0 54 105 node_test.js: [INFO] async_get: _opam/./lib/ppx_deriving/META 55 106 Parsed uri: ./lib/ppx_deriving/META ··· 95 146 Parsed uri: ./lib/ppx_derivers/META 96 147 Reading library: ppx_derivers 97 148 Number of children: 0 149 + node_test.js: [INFO] async_get: _opam/./lib/ppx_compare/META 150 + Parsed uri: ./lib/ppx_compare/META 151 + Reading library: ppx_compare 152 + Number of children: 2 153 + Found child: expander 154 + Reading library: ppx_compare.expander 155 + Number of children: 0 156 + Found child: runtime-lib 157 + Reading library: ppx_compare.runtime-lib 158 + Number of children: 0 98 159 node_test.js: [INFO] async_get: _opam/./lib/ocaml_intrinsics_kernel/META 99 160 Parsed uri: ./lib/ocaml_intrinsics_kernel/META 100 161 Reading library: ocaml_intrinsics_kernel ··· 141 202 Found child: toplevel 142 203 Reading library: ocaml-compiler-libs.toplevel 143 204 Number of children: 0 205 + node_test.js: [INFO] async_get: _opam/./lib/capsule0/META 206 + Parsed uri: ./lib/capsule0/META 207 + Reading library: capsule0 208 + Number of children: 2 209 + Found child: blocking_sync 210 + Reading library: capsule0.blocking_sync 211 + Number of children: 0 212 + Found child: expert 213 + Reading library: capsule0.expert 214 + Number of children: 0 215 + node_test.js: [INFO] async_get: _opam/./lib/basement/META 216 + Parsed uri: ./lib/basement/META 217 + Reading library: basement 218 + Number of children: 0 144 219 node_test.js: [INFO] async_get: _opam/./lib/base/META 145 220 Parsed uri: ./lib/base/META 146 221 Reading library: base 147 222 Number of children: 3 148 - Found child: base_internalhash_types 149 - Reading library: base.base_internalhash_types 223 + Found child: composition_infix 224 + Reading library: base.composition_infix 150 225 Number of children: 0 151 226 Found child: md5 152 227 Reading library: base.md5 ··· 156 231 Number of children: 0 157 232 node_test.js: [INFO] sync_get: _opam/lib/ocaml/dynamic_cmis.json 158 233 node_test.js: [INFO] Adding toplevel modules for dynamic cmis from lib/ocaml/ 159 - node_test.js: [INFO] toplevel modules: CamlinternalFormat, CamlinternalLazy, CamlinternalFormatBasics, CamlinternalMod, Std_exit, Stdlib, CamlinternalOO 234 + node_test.js: [INFO] toplevel modules: Camlinternaleval, CamlinternalFormat, CamlinternalLazy, CamlinternalAtomic, CamlinternalFormatBasics, Compiler_owee, Opttopdirs, CamlinternalComprehension, Gc_timings, CamlinternalQuote, CamlinternalMod, Std_exit, Stdlib, CamlinternalOO, Topdirs 235 + node_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternaleval.cmi 160 236 node_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternalFormat.cmi 161 237 node_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternalLazy.cmi 238 + node_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternalAtomic.cmi 162 239 node_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternalFormatBasics.cmi 240 + node_test.js: [INFO] async_get: _opam/lib/ocaml/compiler_owee.cmi 241 + node_test.js: [INFO] async_get: _opam/lib/ocaml/opttopdirs.cmi 242 + node_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternalComprehension.cmi 243 + node_test.js: [INFO] async_get: _opam/lib/ocaml/gc_timings.cmi 244 + node_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternalQuote.cmi 163 245 node_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternalMod.cmi 164 246 node_test.js: [INFO] async_get: _opam/lib/ocaml/std_exit.cmi 165 247 node_test.js: [INFO] async_get: _opam/lib/ocaml/stdlib.cmi 166 248 node_test.js: [INFO] async_get: _opam/lib/ocaml/camlinternalOO.cmi 249 + node_test.js: [INFO] async_get: _opam/lib/ocaml/topdirs.cmi 167 250 node_test.js: [INFO] init() finished 168 251 node_test.js: [INFO] setup() for env default... 169 252 node_test.js: [INFO] Fetching stdlib__Format.cmi ··· 177 260 node_test.js: [INFO] Setup complete 178 261 Loading package base 179 262 lib.dir: None 180 - Loading package base.base_internalhash_types 181 - lib.dir: base_internalhash_types 182 - uri: ./lib/base/base_internalhash_types/dynamic_cmis.json 183 - node_test.js: [INFO] sync_get: _opam/./lib/base/base_internalhash_types/dynamic_cmis.json 184 - importScripts: ./lib/base/base_internalhash_types/base_internalhash_types.cma.js 185 - Finished loading package base.base_internalhash_types 186 263 Loading package base.shadow_stdlib 187 264 lib.dir: shadow_stdlib 188 265 uri: ./lib/base/shadow_stdlib/dynamic_cmis.json 189 266 node_test.js: [INFO] sync_get: _opam/./lib/base/shadow_stdlib/dynamic_cmis.json 267 + Archive shadow_stdlib.cma not preloaded, loading 1 units 190 268 importScripts: ./lib/base/shadow_stdlib/shadow_stdlib.cma.js 191 269 Finished loading package base.shadow_stdlib 192 - Loading package ocaml_intrinsics_kernel 270 + Loading package basement 193 271 lib.dir: None 194 - uri: ./lib/ocaml_intrinsics_kernel/dynamic_cmis.json 195 - node_test.js: [INFO] sync_get: _opam/./lib/ocaml_intrinsics_kernel/dynamic_cmis.json 196 - importScripts: ./lib/ocaml_intrinsics_kernel/ocaml_intrinsics_kernel.cma.js 197 - Finished loading package ocaml_intrinsics_kernel 198 - Loading package sexplib0 199 - lib.dir: None 200 - uri: ./lib/sexplib0/dynamic_cmis.json 201 - node_test.js: [INFO] sync_get: _opam/./lib/sexplib0/dynamic_cmis.json 202 - importScripts: ./lib/sexplib0/sexplib0.cma.js 272 + uri: ./lib/basement/dynamic_cmis.json 273 + node_test.js: [INFO] sync_get: _opam/./lib/basement/dynamic_cmis.json 274 + Archive basement.cma not preloaded, loading 17 units 275 + importScripts: ./lib/basement/basement.cma.js 276 + Finished loading package basement 277 + Loading package capsule0.expert 278 + lib.dir: expert 279 + uri: ./lib/capsule0/expert/dynamic_cmis.json 280 + node_test.js: [INFO] sync_get: _opam/./lib/capsule0/expert/dynamic_cmis.json 281 + Archive capsule_expert.cma not preloaded, loading 1 units 282 + importScripts: ./lib/capsule0/expert/capsule_expert.cma.js 203 283 node_test.js: [ERROR] Error: TypeError: k is not a function