solady icon indicating copy to clipboard operation
solady copied to clipboard

👷‍♂️ Slither unable to generate IR for LibSort

Open sambacha opened this issue 1 year ago • 5 comments

Using the latest slither release and latest LibSort, Slither is unable to generate an IR for LibSort. It gives the following error message:

$ slither
ERROR:ContractSolcParsing:Impossible to generate IR for LibSort._toInts (lib/solady/src/utils/LibSort.sol#535-540):
 'str' object has no attribute 'type'
~~~

sambacha avatar Mar 04 '24 05:03 sambacha

@0xalpharush

Vectorized avatar Mar 04 '24 17:03 Vectorized

Could be related: https://github.com/crytic/slither/issues/1966

Vectorized avatar Mar 04 '24 18:03 Vectorized

This is the same regression as https://github.com/crytic/slither/issues/2210. Will get it fixed!

0xalpharush avatar Mar 26 '24 18:03 0xalpharush

This should be fixed in the latest release https://github.com/crytic/slither/releases/tag/0.10.2

0xalpharush avatar Apr 08 '24 16:04 0xalpharush

Much kudos!

Vectorized avatar Apr 09 '24 15:04 Vectorized