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

贡献者指南