patch because of a change in @typeInfo

pull/2/head
Chris Boesch 2 years ago
parent bb08131538
commit f0d43f488f

@ -100,7 +100,7 @@ pub fn main() void {
//
// pub const StructField = struct {
// name: []const u8,
// field_type: type,
// type: type,
// default_value: anytype,
// is_comptime: bool,
// alignment: comptime_int,

@ -41,7 +41,7 @@ pub fn main() void {
const fields = @typeInfo(Narcissus).Struct.fields;
??? {
if (field.field_type != void) {
if (field.type != void) {
print(" {s}", .{field.name});
}
}

@ -96,7 +96,7 @@ fn printTuple(tuple: anytype) void {
//
// pub const StructField = struct {
// name: []const u8,
// field_type: type,
// type: type,
// default_value: anytype,
// is_comptime: bool,
// alignment: comptime_int,

Loading…
Cancel
Save