Skip to content

Commit 472a87d

Browse files
committed
Add subsection headers for the mangling documentation.
This enables linking to specific subsections.
1 parent e4d5311 commit 472a87d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

design/mvp/CanonicalABI.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,6 +1429,8 @@ character in a component-level import/export (as is currently the case in `wit`
14291429
[identifiers](WIT.md#identifiers)) and thus can safely be used to prefix
14301430
auxiliary Canonical ABI-induced imports/exports.
14311431

1432+
#### Instance mangling
1433+
14321434
Instance-mangling recursively builds a dotted path string (of instance names)
14331435
that is included in the mangled core import/export name:
14341436
```python
@@ -1457,6 +1459,8 @@ def mangle_instances(xs, path = ''):
14571459
The three `TODO` cases are intended to be filled in by future PRs extending
14581460
the Canonical ABI.
14591461

1462+
#### Function and value type mangling
1463+
14601464
Function and value types are recursively mangled into
14611465
[`wit`](WIT.md)-compatible syntax:
14621466
```python

0 commit comments

Comments
 (0)