Skip to content

Commit

Permalink
fix issue #1345 about generics
Browse files Browse the repository at this point in the history
  • Loading branch information
sdghchj committed Oct 15, 2022
1 parent a1a7e43 commit bc3a335
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions generics_other.go
Expand Up @@ -9,6 +9,12 @@ import (
"go/ast"
)

type genericTypeSpec struct {
ArrayDepth int
TypeSpec *TypeSpecDef
Name string
}

func typeSpecFullName(typeSpecDef *TypeSpecDef) string {
return typeSpecDef.FullName()
}
Expand Down

0 comments on commit bc3a335

Please sign in to comment.