From 966249c10a32425b408df5a5ea6085781f38b8a7 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 14 Aug 2018 18:32:34 +0100 Subject: `bit_set` constants --- src/types.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/types.cpp') diff --git a/src/types.cpp b/src/types.cpp index 73e889922..23f0aa38b 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -757,6 +757,9 @@ bool is_type_constant_type(Type *t) { if (t->kind == Type_Basic) { return (t->Basic.flags & BasicFlag_ConstantType) != 0; } + if (t->kind == Type_BitSet) { + return true; + } return false; } bool is_type_float(Type *t) { -- cgit v1.2.3