diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-09-28 19:52:52 +0100 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-09-28 19:52:52 +0100 |
| commit | a974c51d573618c9cc4496a32885b7f871c317b2 (patch) | |
| tree | ac5b8409eedbe8a12b6d7c7c89683cfdb7c8b06f /src/check_expr.cpp | |
| parent | 0233dc5d31e1db7b4da9e6c5a4a614e2cbb550a9 (diff) | |
First step towards constant unions
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index fdc3bc181..a825ec7bf 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -3520,7 +3520,7 @@ gb_internal bool is_type_union_constantable(Type *type) { return false; } } - return false; + return true; } gb_internal bool check_cast_internal(CheckerContext *c, Operand *x, Type *type) { |