Port tests from upstream parser_test.zig: - "comment to disable/enable zig fmt" - "line comment following 'zig fmt: off'" - "doc comment following 'zig fmt: off'" - "alternating 'zig fmt: off' and 'zig fmt: on'" - "spaces around slice operator" Fix parsePrimaryTypeExpr: don't reject identifier followed by colon; the colon may be part of slice sentinel syntax, not a label. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
38 KiB
38 KiB