Skip to content

Commit 8973ac8

Browse files
committed
Fixup mdx tests
1 parent bd05724 commit 8973ac8

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/xref2/test.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ now we can ask for the signature of this module:
975975
val sg : Tools.expansion =
976976
Odoc_xref2.Tools.Signature
977977
{Odoc_xref2.Component.Signature.items =
978-
[Odoc_xref2.Component.Signature.Module (`LModule (M, 32),
978+
[Odoc_xref2.Component.Signature.Module (`LModule (M, 31),
979979
Odoc_model.Lang.Signature.Ordinary,
980980
{Odoc_xref2.Component.Delayed.v =
981981
Some
@@ -1001,7 +1001,7 @@ val sg : Tools.expansion =
10011001
None);
10021002
canonical = None; hidden = false};
10031003
get = None});
1004-
Odoc_xref2.Component.Signature.Module (`LModule (N, 33),
1004+
Odoc_xref2.Component.Signature.Module (`LModule (N, 32),
10051005
Odoc_model.Lang.Signature.Ordinary,
10061006
{Odoc_xref2.Component.Delayed.v =
10071007
Some
@@ -1014,7 +1014,7 @@ val sg : Tools.expansion =
10141014
(Odoc_xref2.Component.ModuleType.Path
10151015
{Odoc_xref2.Component.ModuleType.p_expansion = None;
10161016
p_path =
1017-
`DotMT (`Substituted (`Local (`LModule (M, 32), false)), S)});
1017+
`DotMT (`Substituted (`Local (`LModule (M, 31), false)), S)});
10181018
canonical = None; hidden = false};
10191019
get = None})];
10201020
compiled = false; removed = [];
@@ -1064,7 +1064,7 @@ val m : Component.Module.t Component.Delayed.t =
10641064
- : Tools.expansion =
10651065
Odoc_xref2.Tools.Signature
10661066
{Odoc_xref2.Component.Signature.items =
1067-
[Odoc_xref2.Component.Signature.Type (`LType (t, 42),
1067+
[Odoc_xref2.Component.Signature.Type (`LType (t, 41),
10681068
Odoc_model.Lang.Signature.Ordinary,
10691069
{Odoc_xref2.Component.Delayed.v =
10701070
Some

test/xref2/subst/test.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ module type Monad/21 =
131131
module SomeMonad/20 :
132132
sig
133133
type t/25
134-
include r(Monad/21) with [resolved(root(Monad/21).t) = [a] resolved(t/25)]
134+
include r(Monad/21) with [resolved(root(Monad/21).t)(params (a)) = [a] resolved(t/25)]
135135
(sig :
136136
val map/26 : ([a] resolved(t/25)) -> ((a) -> b) -> [b] resolved(t/25)
137137
val join/27 : ([[a] resolved(t/25)] resolved(t/25)) -> [a] resolved(t/25)
@@ -141,7 +141,7 @@ module SomeMonad/20 :
141141
module ComplexTypeExpr/19 :
142142
sig
143143
type t/28
144-
include r(Monad/21) with [resolved(root(Monad/21).t) = ([resolved(int) * a] resolved(t/28) * [a * resolved(int)] resolved(t/28))]
144+
include r(Monad/21) with [resolved(root(Monad/21).t)(params (a)) = ([resolved(int) * a] resolved(t/28) * [a * resolved(int)] resolved(t/28))]
145145
(sig :
146146
val map/29 : (([resolved(int) * a] resolved(t/28) * [a * resolved(int)] resolved(t/28))) -> ((a) -> b) -> ([resolved(int) * b] resolved(t/28) * [b * resolved(int)] resolved(t/28))
147147
val join/30 : (([resolved(int) * ([resolved(int) * a] resolved(t/28) * [a * resolved(int)] resolved(t/28))] resolved(t/28) * [([resolved(int) * a] resolved(t/28) * [a * resolved(int)] resolved(t/28)) * resolved(int)] resolved(t/28))) -> ([resolved(int) * a] resolved(t/28) * [a * resolved(int)] resolved(t/28))
@@ -150,7 +150,7 @@ module ComplexTypeExpr/19 :
150150
end (canonical=None)
151151
module Erase/18 :
152152
sig
153-
include r(Monad/21) with [resolved(root(Monad/21).t) = a]
153+
include r(Monad/21) with [resolved(root(Monad/21).t)(params (a)) = a]
154154
(sig :
155155
val map/31 : (a) -> ((a) -> b) -> b
156156
val join/32 : (a) -> a
@@ -186,7 +186,7 @@ module type Monad_2/45 =
186186
module SwappedVars/44 :
187187
sig
188188
type t/50
189-
include r(Monad_2/45) with [resolved(root(Monad_2/45).t) = [b * a] resolved(t/50)]
189+
include r(Monad_2/45) with [resolved(root(Monad_2/45).t)(params (a, b)) = [b * a] resolved(t/50)]
190190
(sig :
191191
val map/51 : ([err * a] resolved(t/50)) -> f:((a) -> b) -> [err * b] resolved(t/50)
192192
val join/52 : ([e * [e * a] resolved(t/50)] resolved(t/50)) -> [e * a] resolved(t/50)
@@ -219,7 +219,7 @@ module type S/60 =
219219
module M/59 :
220220
sig
221221
type t/63
222-
include r(S/60) with [resolved(root(S/60).t) = [(alias (poly_var [ `A of (a * b) ]) b)] resolved(t/63)]
222+
include r(S/60) with [resolved(root(S/60).t)(params (a)) = [(alias (poly_var [ `A of (a * b) ]) b)] resolved(t/63)]
223223
(sig :
224224
val map/64 : ([(alias (poly_var [ `A of (a * b) ]) b)] resolved(t/63)) -> ((a) -> b) -> [(alias (poly_var [ `A of (b * b) ]) b)] resolved(t/63)
225225
(removed=type (a) t = ([(alias (poly_var [ `A of (a * b) ]) b)] local(t/63,false)))

0 commit comments

Comments
 (0)