Comment

Comment by ethan_smith

The opaque keyword in Zig doesn't support method definitions - it creates an incomplete type that must be implemented elsewhere, not a type that can have inline methods and fields like your example attempts.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton