mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-22 05:34:59 -07:00
Allow casting between a bit_field and its backing type
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user