pull/655/head
Josselin 4 years ago
parent ce7688b98b
commit d40e79a4a6
  1. 5
      slither/solc_parsing/declarations/function.py

@ -437,10 +437,7 @@ class FunctionSolc:
return key in attributes and not attributes[key] return key in attributes and not attributes[key]
if attributes and any( if attributes and any(
map( map(has_hint, ["condition", "initializationExpression", "loopExpression"],)
has_hint,
["condition", "initializationExpression", "loopExpression"],
)
): ):
# if we have attribute hints, rely on those # if we have attribute hints, rely on those

Loading…
Cancel
Save