Allow casting between a bit_field and its backing type

This commit is contained in:
gingerBill
2024-02-22 18:15:13 +00:00
parent fc07211772
commit 5f001f6d51
3 changed files with 26 additions and 0 deletions
+1
View File
@@ -210,6 +210,7 @@ gb_internal bool is_type_distinct(Ast *node) {
case Ast_UnionType:
case Ast_EnumType:
case Ast_ProcType:
case Ast_BitFieldType:
return true;
case Ast_PointerType: