Debian Codegraph @

debian/patches/0002-Fix-PrincipalFlag-test-with-OCaml-5.4.0.patch

raw symbols SCIP
1 Fromscip-debian debian ocamlbuild 0.16.1-2 ocamlbuild/patches/`0002-Fix-PrincipalFlag-test-with-OCaml-5.4.0.patch`#From.: Stephane Glondu <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Datescip-debian debian ocamlbuild 0.16.1-2 ocamlbuild/patches/`0002-Fix-PrincipalFlag-test-with-OCaml-5.4.0.patch`#Date.: Wed, 17 Dec 2025 13:55:33 +0100
3 Subjectscip-debian debian ocamlbuild 0.16.1-2 ocamlbuild/patches/`0002-Fix-PrincipalFlag-test-with-OCaml-5.4.0.patch`#Subject.: Fix PrincipalFlag test with OCaml 5.4.0
4
5 ---
6 testsuite/internal.ml | 8 +++++++-
7 1 file changed, 7 insertions(+), 1 deletion(-)
8
9 diff --git a/testsuite/internal.mlscip-debian debian ocamlbuild 0.16.1-2 ocamlbuild/upstream/`testsuite/internal.ml`: b/testsuite/internal.mlscip-debian debian ocamlbuild 0.16.1-2 ocamlbuild/upstream/`testsuite/internal.ml`:
10 index c7bfebc..3e58add 100644
11 --- a/testsuite/internal.ml
12 +++ b/testsuite/internal.ml
13 @@ -366,11 +366,17 @@ else if Sys.ocaml_version < "4.12.0" then
14 2 | let f x = (x.bar; x.foo)
15 ^^^
16 Warning 18: this type-based field disambiguation is not principal.|}
17 -else
18 +else if Sys.ocaml_version < "5.4.0" then
19 {|File "hello.ml", line 2, characters 20-23:
20 2 | let f x = (x.bar; x.foo)
21 ^^^
22 Warning 18 [not-principal]: this type-based field disambiguation is not principal.|}
23 +else
24 +{|File "hello.ml", line 2, characters 20-23:
25 +2 | let f x = (x.bar; x.foo)
26 + ^^^
27 +Warning 18 [not-principal]: this type-based field disambiguation is not
28 + principal.|}
29 )
30 ~targets:("hello.byte",[]) ();;
31