crytic/slither

Inheritance printer adds unnecessary carriage return

Open

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

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

倉庫指標

Star
 (4,769 star)
PR 合併指標
 (平均合併 54天 9小時) (30 天內合併 2 個 PR)

描述

% 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

貢獻者指南