Add #partial [Enum]Type{...} support to check for missing enumerated array fields
This commit is contained in:
1 parent
e870041fe6
commit
b8c4bf2afb
4 files changed
+149
-88
No files matched your search
@@ -67,6 +67,7 @@ OS :: enum u8 {
|
||||
Unknown = 255,
|
||||
}
|
||||
OS_Name :: #sparse[OS]string{
|
||||
._Unknown = "",
|
||||
.FAT = "FAT",
|
||||
.Amiga = "Amiga",
|
||||
.VMS = "VMS/OpenVMS",
|
||||
|
||||
Reference in new issue
Block a user