-
Notifications
You must be signed in to change notification settings - Fork 240
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
Ignoring a rule on a variable declaration doesn't work #771
Comments
Synced to Apple’s issue tracker as rdar://131991753 |
To paraphrase our offline chat here: I suspect it's a bug in the way we visit the nodes. We visit the type/extension and then manually recurse into the member list to emit the violations instead of implementing |
@allevato It is definitely the case that the issue is with how the nodes are visited. I was looking at converting the |
Update: I changed the code generator to make sure |
Just bumped into this but the problem is the "struct declaration" is out of the package so we can't even suppress this warning? @available(*, deprecated, message: "Deprecating conformance to `PostgresDataConvertible`, since it is deprecated.")
extension Data: PostgresDataConvertible {
public static var postgresDataType: PostgresDataType {
.bytea
}
|
I tried to ignore a rule on a variable declaration like this:
However this didn't seem to work and I had to move the ignore to the struct declaration to work.
The text was updated successfully, but these errors were encountered: