Skip to content

Commit 394dab0

Browse files
rtfeldmanclaude
andcommitted
Fix lint issues: remove separator comments and dead code
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 3752fa7 commit 394dab0

4 files changed

Lines changed: 2 additions & 15 deletions

File tree

src/backend/dev/object/elf.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,4 +558,3 @@ test "elf with external symbol" {
558558
// Should produce valid ELF
559559
try std.testing.expectEqualSlices(u8, "\x7fELF", output.items[0..4]);
560560
}
561-

src/backend/dev/object/macho.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,4 +518,3 @@ test "macho with external call" {
518518
const magic = std.mem.readInt(u32, output.items[0..4], .little);
519519
try std.testing.expectEqual(MachO.MH_MAGIC_64, magic);
520520
}
521-

src/eval/comptime_value.zig

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ pub const TopLevelBindings = struct {
3535
}
3636
};
3737

38-
// =============================================================================
39-
// Legacy types for backward compatibility during migration
40-
// These will be removed once the full refactor is complete
41-
// =============================================================================
38+
// Legacy types for backward compatibility during migration.
39+
// These will be removed once the full refactor is complete.
4240

4341
/// Simple heap for allocating memory during evaluation.
4442
/// Uses an arena so everything can be freed at once.
@@ -151,10 +149,6 @@ pub const ComptimeEnv = struct {
151149
}
152150
};
153151

154-
// =============================================================================
155-
// Tests
156-
// =============================================================================
157-
158152
test "TopLevelBindings bind and lookup" {
159153
var bindings = TopLevelBindings.init(std.testing.allocator);
160154
defer bindings.deinit();

src/eval/dev_evaluator.zig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ const ComptimeHeap = comptime_value.ComptimeHeap;
3232
const ComptimeValue = comptime_value.ComptimeValue;
3333
const ComptimeEnv = comptime_value.ComptimeEnv;
3434
const TopLevelBindings = comptime_value.TopLevelBindings;
35-
const DependencyGraph = can.DependencyGraph;
3635

3736
/// Dev backend-based evaluator for Roc expressions
3837
pub const DevEvaluator = struct {
@@ -1930,10 +1929,6 @@ test "generate f64 code" {
19301929
try std.testing.expectApproxEqRel(@as(f64, 3.14159), result, 0.0001);
19311930
}
19321931

1933-
// =============================================================================
1934-
// Result pointer tests - verify code writes to the landing pad correctly
1935-
// =============================================================================
1936-
19371932
test "result pointer: i64 value written to memory" {
19381933
var evaluator = DevEvaluator.init(std.testing.allocator) catch |err| {
19391934
return switch (err) {

0 commit comments

Comments
 (0)