You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// SPDX-License-Identifier: UNLICENSEDpragma solidity^0.8.0;
contractC {
boolconstant l =false;
boolconstant O =false;
boolconstant I =false;
function f() publicpure {}
}
Version:
0.9.0
Relevant log output:
No response
The text was updated successfully, but these errors were encountered:
Should this issue be closed? I'm cruising the open issue tracker for "good first issue" opportunities, and there are a few like this that appear to have been resolved (based on being mentioned in other issues/PRs)
Describe the issue:
Slither has a detection for usage of
https://docs.soliditylang.org/en/v0.8.17/style-guide.html#names-to-avoid
However this detection fails on O and I, as the code considers them "uppercase with underscores" even though there are no underscores.
Relevant code:
slither/slither/detectors/naming_convention/naming_convention.py
Lines 52 to 54 in fba37f2
slither/slither/detectors/naming_convention/naming_convention.py
Lines 120 to 137 in fba37f2
Code example to reproduce the issue:
Version:
0.9.0
Relevant log output:
No response
The text was updated successfully, but these errors were encountered: