From fce813c558d45f5458467b4b231cd64facd47f69 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Tue, 18 Nov 2025 22:30:17 -0500 Subject: [PATCH] Delete some obsolete comments --- src/build/builtin_compiler/main.zig | 2 -- src/layout/store_test.zig | 4 ---- 2 files changed, 6 deletions(-) diff --git a/src/build/builtin_compiler/main.zig b/src/build/builtin_compiler/main.zig index d5a2a241b0..0274800bd9 100644 --- a/src/build/builtin_compiler/main.zig +++ b/src/build/builtin_compiler/main.zig @@ -468,8 +468,6 @@ pub fn main() !void { try builtin_env.common.setNodeIndexById(gpa, f32_ident, @intCast(@intFromEnum(f32_type_idx))); try builtin_env.common.setNodeIndexById(gpa, f64_ident, @intCast(@intFromEnum(f64_type_idx))); - // Note: Both Str and List are now nominal types (no longer transformed to primitives). - // The type system handles them directly as nominal types with special runtime support. // Create output directory try std.fs.cwd().makePath("zig-out/builtins"); diff --git a/src/layout/store_test.zig b/src/layout/store_test.zig index 71765a2388..ef78a31855 100644 --- a/src/layout/store_test.zig +++ b/src/layout/store_test.zig @@ -113,10 +113,6 @@ test "addTypeVar - host opaque types compile to opaque_ptr" { try testing.expectEqual(layout.Idx.opaque_ptr, box_rigid_layout.data.box); } -// Test deleted: was using .str primitive type which no longer exists. -// .str is now a nominal type (Builtin.Str) and requires the actual Builtin module. -// Proper string layout testing requires loading the actual Builtin module. - test "addTypeVar - zero-sized types (ZST)" { var lt: LayoutTest = undefined; lt.gpa = testing.allocator;