3 Commits

Author SHA1 Message Date
a498eea0bc v0.1.2: Bump version 2026-01-19 19:20:33 +05:30
c172009799 v0.1.1: Add warning log when mixin is not found 2026-01-19 19:19:28 +05:30
8ff473839c Bump version to 0.1.0 2026-01-19 19:11:36 +05:30
2 changed files with 6 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
.{ .{
.name = .pugz, .name = .pugz,
.version = "0.0.0", .version = "0.1.2",
.fingerprint = 0x822db0790e17621d, // Changing this has security and trust implications. .fingerprint = 0x822db0790e17621d, // Changing this has security and trust implications.
.minimum_zig_version = "0.15.2", .minimum_zig_version = "0.15.2",
.dependencies = .{ .dependencies = .{

View File

@@ -765,8 +765,11 @@ pub const Runtime = struct {
} }
} }
// If still not found, skip this mixin call // If still not found, log warning and skip this mixin call
const mixin_def = mixin orelse return; const mixin_def = mixin orelse {
std.log.warn("mixin '{s}' not found, skipping", .{call.name});
return;
};
try self.context.pushScope(); try self.context.pushScope();
defer self.context.popScope(); defer self.context.popScope();