-
Notifications
You must be signed in to change notification settings - Fork 175
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
False positive with gas-struct-packing #597
Comments
I found another false positive also when using multiple addresses, since you can't pack 2 addresses into the same slot
|
@RyanRHall regarding your issue |
@jhweintraub this is a good one... i need to check the code... thanks a lot for reporting! |
I think there is a false positive with the
gas-struct-packing
rule when using contract types. Here is the MRE:MyStruct1
andMyStruct2
are both "tightly packed", but for some reason the linter doesn't like the first struct. I tested this against solhint v5.0.3The text was updated successfully, but these errors were encountered: