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
If you want to print a parameter name, and the parameter is unnamed, you get:
Traceback (most recent call last):
File "<stdin>", line 3, in <module>
File "/opt/homebrew/lib/python3.11/site-packages/slither/core/variables/variable.py", line 182, in __str__
assert self._name
AssertionError
Code example to reproduce the issue:
Contract:
//SPDX-License-Identifier: UNLICENSEDpragma solidity0.8.10;
contractTestSlither {
function test_function(uint256param1, uint256, addressparam3) public {
}
}
0xalpharush
changed the title
[Bug-Candidate]: AssertionError when dealing with unnamed parameters
[Bug]: AssertionError when dealing with unnamed parameters
Sep 29, 2023
Describe the issue:
If you want to print a parameter name, and the parameter is unnamed, you get:
Code example to reproduce the issue:
Contract:
Script:
Version:
0.9.6
Relevant log output:
No response
The text was updated successfully, but these errors were encountered: