crytic/slither

Inheritance printer adds unnecessary carriage return

Open

#1835 aperta il 12 apr 2023

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Python (886 fork)batch import
good first issuehelp wanted

Metriche repository

Star
 (4769 star)
Metriche merge PR
 (Merge medio 54g 9h) (2 PR mergiate in 30 g)

Descrizione

% cat test.sol

pragma solidity >= 0.8.19;

interface IFoo{}

contract Foo is IFoo {}

abstract contract Bar is Foo {}

interface IBaz{}

contract Baz is Bar, IBaz{}

% slither test.sol --print inheritance

+ Baz
 -> Bar, IBaz
, [Foo, IFoo]

It looks like we added unnecessary carriage return to the output at some point

Guida contributor