aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/check_type.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index b23ba937c..47726a15b 100644
--- a/src/check_type.cpp
+++ b/src/check_type.cpp
@@ -89,12 +89,8 @@ bool does_field_type_allow_using(Type *t) {
t = base_type(t);
if (is_type_struct(t)) {
return true;
- } else if (is_type_raw_union(t)) {
- return true;
} else if (is_type_array(t)) {
return t->Array.count <= 4;
- } else if (is_type_typeid(t)) {
- return true;
}
return false;
}