mirror of https://github.com/crytic/slither
local variable location fix (#1942)
* Local variable location fix When we had a function f() which returns a pair, the result passed to local variables didn't initialize the location attribute. For example: contract A { function f() public returns (int, bytes memory) { return (1, "asdf"); } function g() public { (int x, bytes memory y) = f(); } } the location of the local variable x as well as the location of the local variable y was None * moved the fixes to the proper file * removed useless newlinespull/1990/head
parent
79ff12a5e2
commit
831b3b2d5d
Loading…
Reference in new issue