We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0013acd commit 006b97cCopy full SHA for 006b97c
design/mvp/CanonicalABI.md
@@ -240,12 +240,14 @@ state indicates whether the instance may be called from the outside world
240
through an export. The `HandleTable` is defined next.
241
```python
242
class ComponentInstance:
243
- may_leave = True
244
- may_enter = True
+ may_leave: bool
+ may_enter: bool
245
handles: HandleTable
246
247
def __init__(self):
248
- handles = HandleTable()
+ self.may_leave = True
249
+ self.may_enter = True
250
+ self.handles = HandleTable()
251
```
252
253
Lastly, the `called_as_export` field of `Context` indicates whether the lifted
0 commit comments