Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW46.2026 · 9–15 Novocaml/opam-repository

    qcheck-alcotest: bound alcotest below 1.10.0 for tests

    Each failing test of example/alcotest now prints a File "src/core/QCheck2.ml", line ... header (mirage/alcotest#451), which QCheck_alcotest_test.expected does not have. The test passes with alcotest 1.9.1 and fails with 1.10.0; the library works with both, so the bound only applies with-test.

    Thomas Gazagnaire (@samoht)
  2. Pull requestW46.2026 · 9–15 Novocaml/opam-repository

    routes.0.7.0: disable tests

    It fails with:

    Thomas Gazagnaire (@samoht)
  3. Pull requestW46.2026 · 9–15 Novocaml/opam-repository

    routes.1.0.0: bound alcotest below 1.9.0 for tests

    test/routing_test.ml line 90 calls map inside an Alcotest.( ... ) local open to mean Routes.map, which the Alcotest.map added in alcotest 1.9.0 (mirage/alcotest#412) now shadows. The tests pass with 1.8.0 and do not compile with 1.9.0.

    Thomas Gazagnaire (@samoht)
  4. Pull requestW46.2026 · 9–15 Novocaml/opam-repository

    salsa20.0.1.0: restrict to topkg < 1.1.1

    Otherwise it fails with:

    Thomas Gazagnaire (@samoht)
  5. Pull requestW46.2026 · 9–15 Novocaml/opam-repository

    sihl, sihl-type: bound alcotest below 1.10.0

    Otherwise it fails with:

    Thomas Gazagnaire (@samoht)
  6. Pull requestW46.2026 · 9–15 Novocaml/opam-repository

    sihl: bound alcotest-lwt below 1.10.0 for tests

    template/test/test.ml defines its own suite and calls Alcotest.(run "unit" suite) (line 13), where the Alcotest.suite added in alcotest 1.10.0 (mirage/alcotest#468) now shadows it. The test has no package field, so dune build -p @runtest builds it for every sihl-* package; it compiles and passes with alcotest 1.9.1 and does not compile with 1.10.0. The file…

    Thomas Gazagnaire (@samoht)
  7. Pull requestW46.2026 · 9–15 Novocaml/opam-repository

    smtml: add upper bound on dolmen

    Otherwise they fail with dolmen 0.11:

    Thomas Gazagnaire (@samoht)
  8. Pull requestW46.2026 · 9–15 Novocaml/opam-repository

    styled-ppx: disable tests

    They fail with:

    Thomas Gazagnaire (@samoht)
  9. Pull requestW46.2026 · 9–15 Novocaml/opam-repository

    testo: bound alcotest below 1.10.0 for tests

    Testo.to_alcotest returns test cases typed string * [ Quick | Slow ] * ... (core/Testo.mli, line 848), which no longer match Alcotest.test_case since its speed became a wider tag type in alcotest 1.10.0 (mirage/alcotest#448). tests/Test_alcotest.ml line 28 compiles with 1.9.1 and not with 1.10.0.

    Thomas Gazagnaire (@samoht)
  10. Pull requestW46.2026 · 9–15 Novocaml/opam-repository

    topojsone: restrict tests to OCaml < 5.4

    Otherwise it fails with:

    Thomas Gazagnaire (@samoht)
  11. Pull requestW46.2026 · 9–15 Novocaml/opam-repository

    uunf.18.0.0: accept CI failures on debian-13

    It fails on 4.14+flambda with:

    Thomas Gazagnaire (@samoht)
  12. Pull requestW46.2026 · 9–15 Novocaml/opam-repository

    xapi-stdext-encodings: bound alcotest below 1.10.0 for tests

    lib/xapi-stdext-encodings/test.ml defines let uchar = Alcotest.int (line 550) and uses it in Alcotest.(check (pair uchar int)) (line 555), where the Alcotest.uchar added in alcotest 1.10.0 (mirage/alcotest#435) now shadows it. The tests pass with 1.9.1 and stop compiling at mirage/alcotest@947f07e113.

    Thomas Gazagnaire (@samoht)
  13. Pull requestW46.2026 · 9–15 Novocsigen/js_of_ocaml

    (EXPERIMENT) CI, benchmarks: stop installing Binaryen

    On top of #2571, which makes Binaryen optional.

    hhugo
  14. Pull requestW46.2026 · 9–15 Novocsigen/js_of_ocaml

    Compiler/Runtime: avoid holey arrays with V8

    V8 tracks the elements kind of arrays, and holey arrays reaching the same store sites as packed ones make these sites convert packed arrays to holey ones. This is recorded in the allocation site of the converted arrays, so block literals end up being created holey as well. This causes polymorphism and repeated "wrong map" deoptimizations.

    Jérôme Vouillon (@vouillon)
  15. Pull requestW46.2026 · 9–15 Novocsigen/js_of_ocaml

    Compiler/Wasm: box integer-typed variables used as references

    With GADTs, a variable typed as an integer can be used as a reference cell, an array or a function in a dead branch. Offset_ref, Array_set and Apply loaded such a variable without boxing it, producing an invalid ref.cast or call on an i32.

    Jérôme Vouillon (@vouillon)
  16. Pull requestW46.2026 · 9–15 Novocsigen/js_of_ocaml

    Compiler: Flow knows the value of a tested variable along some edges

    Flow (JavaScript target only) now uses the value of a tested variable along the edges of the test:

    hhugo
  17. Pull requestW46.2026 · 9–15 Novocsigen/js_of_ocaml

    Compiler: call functions in blocks without Function.prototype.call

    Exact calls to functions stored in blocks (module fields of other compilation units, records of closures) were emitted as M[i].call(null, x) (de27231, part of #1397), to avoid a method call. On V8 this prevents inlining: TurboFan's ReduceFunctionPrototypeCall rewrites it into a call of M[i] marked CallFeedbackRelation::kUnrelated, and ReduceJSCall then ignor…

    hhugo
  18. Pull requestW46.2026 · 9–15 Novocsigen/js_of_ocaml

    Compiler: do not fold integer operations on non-integer literals

    The JavaScript code generator simplifies integer additions, subtractions and shifts whose operands are number literals, parsing the literals as integers. With GADTs, such an operation can be applied to a float constant in dead code, once a function is inlined:

    Jérôme Vouillon (@vouillon)
  19. Pull requestW46.2026 · 9–15 Novocsigen/js_of_ocaml

    Compiler: fix --enable callgen

    With --enable callgen, applications are inlined instead of going through caml_callN, and the inlined code repeats the function and the arguments:

    hhugo
  20. Pull requestW46.2026 · 9–15 Novocsigen/js_of_ocaml

    Compiler: fix float constants when the compiler runs in JavaScript

    When js_of_ocaml is itself compiled to JavaScript, floats are unboxed numbers, which Obj.is_block takes for integers. Float constants nested in structured constants were thus parsed as integers and truncated by Targetint (0.2888 became 0, -0. became 0, 1e100 became 0, 2147483648. became -2147483648), with an "integer-overflow" warning. Compiling the lexifi-g…

    Jérôme Vouillon (@vouillon)