aboutsummaryrefslogtreecommitdiff
path: root/src/checker/entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/checker/entity.cpp')
-rw-r--r--src/checker/entity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/checker/entity.cpp b/src/checker/entity.cpp
index d90d08cfd..aed4751ef 100644
--- a/src/checker/entity.cpp
+++ b/src/checker/entity.cpp
@@ -26,7 +26,7 @@ struct Entity {
isize order;
union {
- struct { Value value; } constant;
+ struct { ExactValue value; } constant;
struct {
b8 visited;
b8 is_field;
@@ -59,7 +59,7 @@ Entity *make_entity_variable(gbAllocator a, Scope *parent, Token token, Type *ty
return entity;
}
-Entity *make_entity_constant(gbAllocator a, Scope *parent, Token token, Type *type, Value value) {
+Entity *make_entity_constant(gbAllocator a, Scope *parent, Token token, Type *type, ExactValue value) {
Entity *entity = alloc_entity(a, Entity_Constant, parent, token, type);
entity->constant.value = value;
return entity;