We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e58eb8 commit 09947c7Copy full SHA for 09947c7
design/mvp/CanonicalABI.md
@@ -1312,8 +1312,8 @@ definitions.
1312
1313
Together, these definitions are intended to satisfy the invariant:
1314
```
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
+for all m : core:module and ct : componenttype:
+ module-type(m) = canonical-module-type(ct) implies ct = type-of(lift-canonical-module(m))
1317
1318
One consequence of this is that the canonical `core:moduletype` must encode
1319
enough high-level type information for `lift-canonical-module` to be able to
0 commit comments