aboutsummaryrefslogtreecommitdiff
path: root/boot/type_check.cc
diff options
context:
space:
mode:
Diffstat (limited to 'boot/type_check.cc')
-rw-r--r--boot/type_check.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/boot/type_check.cc b/boot/type_check.cc
index 5033ffd..2f15462 100644
--- a/boot/type_check.cc
+++ b/boot/type_check.cc
@@ -1711,8 +1711,7 @@ namespace elna::boot
break;
case shift_left:
case shift_right:
- valid = is_integral_type(lhs_resolved)
- && is_primitive_type(rhs_resolved, "Word");
+ valid = is_integral_type(lhs_resolved) && is_word_type(rhs_resolved);
break;
default:
__builtin_unreachable();