Skip to content

Commit

Permalink
dsl/types: add String+Underlying methods to Struct
Browse files Browse the repository at this point in the history
  • Loading branch information
quasilyte committed May 18, 2022
1 parent 631ca07 commit 0448b91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dsl/types/type_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ func (*Array) String() string { return "" }
func (*Slice) String() string { return "" }
func (*Pointer) String() string { return "" }
func (*Interface) String() string { return "" }
func (*Struct) String() string { return "" }

func (*Array) Underlying() Type { return nil }
func (*Slice) Underlying() Type { return nil }
func (*Pointer) Underlying() Type { return nil }
func (*Interface) Underlying() Type { return nil }
func (*Struct) Underlying() Type { return nil }

0 comments on commit 0448b91

Please sign in to comment.