commit
51e33d7b6d
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ fn vec(comptime args: anytype) []const []const u8 {
|
|||
|
||||
fn load_file_types(comptime Namespace: type) []const FileType {
|
||||
comptime switch (@typeInfo(Namespace)) {
|
||||
.Struct => |info| {
|
||||
.@"struct" => |info| {
|
||||
var count = 0;
|
||||
for (info.decls) |_| {
|
||||
// @compileLog(decl.name, @TypeOf(@field(Namespace, decl.name)));
|
||||
|
|
Loading…
Add table
Reference in a new issue