Skip to content

Commit

Permalink
Add tool unreachable (#13783)
Browse files Browse the repository at this point in the history
Co-authored-by: Brian J. Cardiff <[email protected]>
Co-authored-by: Sijawusz Pur Rahnama <[email protected]>
Co-authored-by: Beta Ziliani <[email protected]>
  • Loading branch information
4 people authored Sep 26, 2023
1 parent 8e15d16 commit 2d8ff9c
Show file tree
Hide file tree
Showing 6 changed files with 653 additions and 5 deletions.
4 changes: 4 additions & 0 deletions man/crystal.1
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,10 @@ Show implementations for a given call. Use
to specify the cursor position. The format for the cursor position is file:line:column.
.It Cm types
Show type of main variables of file.
.It Cm unreachable
Show methods that are never called. The output is a list of lines with columns
separated by tab. The first column is the location of the def, the second column
its reference name and the third column is the length in lines.
.El
.Pp
.It
Expand Down
Loading

0 comments on commit 2d8ff9c

Please sign in to comment.