diff options
| author | gingerBill <bill@gingerbill.org> | 2022-05-23 12:04:19 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-05-23 12:04:19 +0100 |
| commit | 3ec70c5517062f3d35822253b2072df696b0c55f (patch) | |
| tree | 12e5377283b627e246f77e19fed33220b06c0830 /src/docs_writer.cpp | |
| parent | d9f293b2818b30ebe2d29180aa62c3ce432c4582 (diff) | |
Merge functionality of `#maybe` with the standard 'union' functionality
Diffstat (limited to 'src/docs_writer.cpp')
| -rw-r--r-- | src/docs_writer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/docs_writer.cpp b/src/docs_writer.cpp index 0ad10ac49..2f531a45c 100644 --- a/src/docs_writer.cpp +++ b/src/docs_writer.cpp @@ -620,7 +620,6 @@ OdinDocTypeIndex odin_doc_type(OdinDocWriter *w, Type *type) { doc_type.kind = OdinDocType_Union; if (type->Union.is_polymorphic) { doc_type.flags |= OdinDocTypeFlag_Union_polymorphic; } switch (type->Union.kind) { - case UnionType_maybe: doc_type.flags |= OdinDocTypeFlag_Union_maybe; break; case UnionType_no_nil: doc_type.flags |= OdinDocTypeFlag_Union_no_nil; break; case UnionType_shared_nil: doc_type.flags |= OdinDocTypeFlag_Union_shared_nil; break; } |