mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-22 23:42:33 +00:00
Fix pkg.Constant.field union access
This commit is contained in:
@@ -32,6 +32,22 @@ enum ExactValueKind {
|
||||
ExactValue_Count,
|
||||
};
|
||||
|
||||
gb_global char const *exact_value_kind_string[ExactValue_Count] = {
|
||||
"Invalid",
|
||||
|
||||
"Bool",
|
||||
"String",
|
||||
"Integer",
|
||||
"Float",
|
||||
"Complex",
|
||||
"Quaternion",
|
||||
"Pointer",
|
||||
"Compound",
|
||||
"Procedure",
|
||||
"Typeid",
|
||||
"String16",
|
||||
};
|
||||
|
||||
struct ExactValue {
|
||||
ExactValueKind kind;
|
||||
union {
|
||||
|
||||
Reference in New Issue
Block a user