Comment

Comment by rstarast

Re 9, would it be possible to change the signature of expectEqual from

    pub fn expectEqual(expected: anytype, actual: @TypeOf(expected)) !void
to

    pub fn expectEqual(expected: @TypeOf(actual), actual: anytype) !void
What would the downsides be?
parent rstarast 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton