Skip to content

Commit 559f9f3

Browse files
committed
Go: Remove dead isAlias
1 parent 63ff22a commit 559f9f3

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

go/extractor/extractor.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,12 +1529,6 @@ func extractSpec(tw *trap.Writer, spec ast.Spec, parent trap.Label, idx int) {
15291529
extractNodeLocation(tw, spec, lbl)
15301530
}
15311531

1532-
// Determines whether the given type is an alias.
1533-
func isAlias(tp types.Type) bool {
1534-
_, ok := tp.(*types.Alias)
1535-
return ok
1536-
}
1537-
15381532
// extractType extracts type information for `tp` and returns its associated label;
15391533
// types are only extracted once, so the second time `extractType` is invoked it simply returns the label
15401534
func extractType(tw *trap.Writer, tp types.Type) trap.Label {

0 commit comments

Comments
 (0)