Skip to content

zig fmt / std.zig.Ast: count addrspace tokens correctly #23467

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rpkak
Copy link
Contributor

@rpkak rpkak commented Apr 4, 2025

Before this PR this

const namespace = struct {
    extern const num: u8 addrspace(.generic);
};
// comment

got formatted to this

const namespace = struct {
    extern const num: u8 addrspace(.generic);
(

@alexrp alexrp added this to the 0.14.1 milestone Apr 4, 2025
@alexrp alexrp requested a review from mlugg April 4, 2025 09:16
@rpkak rpkak changed the title zig std / std.zig.Ast: count addrspace tokens correctly zig fmt / std.zig.Ast: count addrspace tokens correctly Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants