Skip to content

Commit

Permalink
Make PkgPath panic
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleconroy committed Feb 2, 2022
1 parent 8a0baff commit e1403c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/reflect/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -721,8 +721,7 @@ func (t rawType) MethodByName(name string) (Method, bool) {
}

func (t rawType) PkgPath() string {
// panic("unimplemented: (reflect.Type).PkgPath()")
return "<unimplemented>"
panic("unimplemented: (reflect.Type).PkgPath()")
}

// A StructField describes a single field in a struct.
Expand Down

0 comments on commit e1403c4

Please sign in to comment.