crytic/slither

Inheritance printer adds unnecessary carriage return

Ouverte

#1 835 ouverte le 12 avr. 2023

 (4 commentaires) (0 réaction) (0 personne assignée)Python (886 forks)batch import
good first issuehelp wanted

Métriques du dépôt

Stars
 (4 769 étoiles)
Métriques de merge PR
 (Merge moyen 54j 9h) (2 PRs mergées en 30 j)

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

Guide contributeur