diff --git a/build.zig.zon b/build.zig.zon index 7416bea..d3349d2 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,6 +1,6 @@ .{ .name = .pugz, - .version = "0.0.0", + .version = "0.1.1", .fingerprint = 0x822db0790e17621d, // Changing this has security and trust implications. .minimum_zig_version = "0.15.2", .dependencies = .{ diff --git a/src/runtime.zig b/src/runtime.zig index a24df6f..81a4a22 100644 --- a/src/runtime.zig +++ b/src/runtime.zig @@ -765,8 +765,11 @@ pub const Runtime = struct { } } - // If still not found, skip this mixin call - const mixin_def = mixin orelse return; + // If still not found, log warning and skip this mixin call + const mixin_def = mixin orelse { + std.log.warn("mixin '{s}' not found, skipping", .{call.name}); + return; + }; try self.context.pushScope(); defer self.context.popScope();