aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-09-29 12:54:52 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-09-29 12:54:52 +0100
commit240b2f1819294cc59b48f88ef3344bf77265fec6 (patch)
treecc80ffec2742974e4e4882eb209e03248410adbe /src/types.cpp
parentb711e9296868accd2a1ca889db60dc54ecd46c75 (diff)
Disable `#raw_union` constants for the time beingbill/const-union
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/types.cpp b/src/types.cpp
index 1fbcd429b..effa8ef64 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -2541,7 +2541,8 @@ gb_internal bool is_type_raw_union_constantable(Type *type) {
return false;
}
}
- return true;
+ // return true;
+ return false; // Disable raw union constants for the time being
}