Akshay Trivedi

Results 4 comments of Akshay Trivedi

Hi, I'm new to Github and Emacs so let me know if I'm doing anything wrong by posting this here. I was running in to a similar error, and I...

You're right, I don't think the solution is to modify `nk_ptr_add`. I'm not sure why I thought this was the solution initially, because this would seemingly point `unaligned` to a...

Seems to be an error in evaluating the return type for `allocAdvancedWithRetAddr`. ``` const std = @import("std"); pub fn main() !void { std.debug.print("{s}\n", .{@typeName(@TypeOf(std.mem.Allocator.allocAdvancedWithRetAddr(undefined, [34:0]u8, null, 1, @returnAddress())))}); std.debug.print("{s}\n", .{@typeName(std.mem.Allocator.Error![]align(null...

Here's a minimal repro of the underlying issue: ``` inline fn f(comptime T: type) error{E}![]T { try g(); return undefined; } fn g() error{E}!void {} comptime { @compileLog(@typeName(@TypeOf(f([34:0]u8)))); // Compile...