aboutsummaryrefslogtreecommitdiff
path: root/src/type.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/type.zig')
-rw-r--r--src/type.zig1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/type.zig b/src/type.zig
index 1482710e51..fb543e1f2c 100644
--- a/src/type.zig
+++ b/src/type.zig
@@ -4275,7 +4275,6 @@ pub const Type = extern union {
is_generic: bool,
pub fn paramIsComptime(self: @This(), i: usize) bool {
- if (!self.is_generic) return false;
assert(i < self.param_types.len);
return self.comptime_params[i];
}