8000 SA5008: report missing struct tag quotes by dajiaohuang · Pull Request #1826 · dominikh/go-tools · GitHub
[go: up one dir, main page]

Skip to content

SA5008: report missing struct tag quotes - #1826

Open
dajiaohuang wants to merge 1 commit into
dominikh:masterfrom
dajiaohuang:fix/sa5008-missing-tag-quote
Open

dajiaohuang wants to merge 1 commit into
dominikh:masterfrom
dajiaohuang:fix/sa5008-missing-tag-quote

Conversation

@dajiaohuang
@dajiaohuang dajiaohuang commented Oct 2, 2026 •
Copy link
Copy Markdown

SA5008's struct-tag parser stopped scanning at EOF when a quoted tag value had no closing quote, then returned the partial parse without an error. That silently omitted the malformed tag from validation. Return a parse error so SA5008 reports it as unparseable.

Static review and git diff --check only; no tests added or run per coordinator direction.

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.

1 participant

0