Skip to content

Exempt record constructors from UnnecessaryQualifier check. - #6090

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_976392213
Open

Exempt record constructors from UnnecessaryQualifier check.#6090
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_976392213

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Exempt record constructors from UnnecessaryQualifier check.

Constructors in records (canonical, compact, or custom) are often used to validate or normalize state. Qualifiers on record constructors can be propagated to synthetic record fields or used by framework processors, and removing them might break code. This change exempts all record constructors from being flagged by UnnecessaryQualifier.

Constructors in records (canonical, compact, or custom) are often used to validate or normalize state. Qualifiers on record constructors can be propagated to synthetic record fields or used by framework processors, and removing them might break code. This change exempts all record constructors from being flagged by `UnnecessaryQualifier`.

PiperOrigin-RevId: 976392213
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