const Object = @import("Object.zig"); const Moose = struct { foo: i32, fn dump(self: Moose) void { const print = @import("std").debug.print; print("Self = {s}\n", .{@typeName(Moose)}); print("FOO = {}\n", .{self.foo}); } }; pub fn main() void { const o12 = Object.init(12); const o13 = Object.init(13); o12.dump(); o13.dump(); const m = Moose{ .foo = 42 }; m.dump(); }