summaryrefslogtreecommitdiff
path: root/docs/type_system/union.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/type_system/union.md')
-rw-r--r--docs/type_system/union.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/type_system/union.md b/docs/type_system/union.md
index f4b0b04..26429f1 100644
--- a/docs/type_system/union.md
+++ b/docs/type_system/union.md
@@ -10,7 +10,7 @@ Union[TAG | TRANSIENT] Collection[VAR_TREE_LIST; TYPE.SYMBOL]]
```c
typedef struct {
- kpl_ptr var_tree, var_list;
+ kpl_type *var_tree, *var_list;
} kpl_type_body_union;
```
@@ -68,3 +68,5 @@ z // is value if y is not zero
### \`error
### \`null
+
+Can take a TYPE as a parameter