crytic/slither

Inheritance printer adds unnecessary carriage return

Open

#1,835 建立於 2023年4月12日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)Python (4,769 star) (886 fork)batch import
good first issuehelp wanted

描述

% 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

貢獻者指南

Inheritance printer adds unnecessary carriage return · crytic/slither#1835 | Good First Issue