aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index d8159d449..26e94dbf1 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -81,10 +81,11 @@ struct Entity {
ExactValue value;
} Constant;
struct {
- i32 field_index;
- i32 field_src_index;
- bool is_immutable;
- bool is_thread_local;
+ i32 field_index;
+ i32 field_src_index;
+ bool is_immutable;
+ bool is_thread_local;
+ ExactValue default_value;
} Variable;
struct {
bool is_type_alias;