fixing sinh and cosh
Build / build (push) Successful in 1m8s
Test / build (push) Successful in 10m31s

This commit is contained in:
2026-06-11 12:33:20 +02:00
parent c868a4481b
commit 75099f7e1d
2 changed files with 5 additions and 11 deletions
+3 -9
View File
@@ -474,13 +474,7 @@ pub fn getMemberCounts(self: *const Self) usize {
return 0;
}
pub fn flushPtr(self: *Self, allocator: std.mem.Allocator) RuntimeError!void {
if (self.variant) |*variant| {
switch (variant.*) {
.Constant => |*c| try c.value.flushPtr(allocator),
.Variable => |*v| try v.value.flushPtr(allocator),
.AccessChain => |*a| try a.value.flushPtr(allocator),
else => {},
}
}
pub inline fn flushPtr(self: *Self, allocator: std.mem.Allocator) RuntimeError!void {
const value = self.getValue() catch return;
try value.flushPtr(allocator);
}