Skip to content

Commit 09947c7

Browse files
committed
Clarify invariant text
1 parent 6e58eb8 commit 09947c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

design/mvp/CanonicalABI.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,8 +1312,8 @@ definitions.
13121312

13131313
Together, these definitions are intended to satisfy the invariant:
13141314
```
1315-
for all m : core:module, mt : core:moduletype, ct : componenttype:
1316-
m : mt and mt = canonical-module-type(ct) implies lift-canonical-module(m) : ct
1315+
for all m : core:module and ct : componenttype:
1316+
module-type(m) = canonical-module-type(ct) implies ct = type-of(lift-canonical-module(m))
13171317
```
13181318
One consequence of this is that the canonical `core:moduletype` must encode
13191319
enough high-level type information for `lift-canonical-module` to be able to

0 commit comments

Comments
 (0)