crytic / crytic/slither

Inheritance printer adds unnecessary carriage return

Open
#1,835 4 comments 0 reactions 0 assignees View on GitHub
good first issue help wanted
Dominant language
Python
Stars
6.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

`% cat test.sol`
```solidity
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.