crytic/slither

Inheritance printer adds unnecessary carriage return

Aberta

#1.835 aberto em 12 de abr. de 2023

 (4 comentários) (0 reação) (0 responsável)Python (886 forks)batch import
good first issuehelp wanted

Métricas do repositório

Stars
 (4.769 estrelas)
Métricas de merge de PR
 (Mesclagem média 54d 9h) (2 fundiu PRs em 30d)

Description

% 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

Guia do colaborador