pub fn functionParameters(self: Type, builder: *const Builder) []const Type 1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175 pub fn functionParameters(self: Type, builder: *const Builder) []const Type {
const item = builder.type_items.items[@backingInt(self)];
switch (item.tag) {
.function,
.vararg_function,
=> {
var extra = builder.typeExtraDataTrail(Type.Function, item.data);
return extra.trail.next(extra.data.params_len, Type, builder);
},
else => unreachable,
}
}