We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ad8a0 commit 7dcc7f0Copy full SHA for 7dcc7f0
cmp/path.go
@@ -284,7 +284,7 @@ type typeAssertion struct {
284
285
func (ta TypeAssertion) Type() reflect.Type { return ta.typ }
286
func (ta TypeAssertion) Values() (vx, vy reflect.Value) { return ta.vx, ta.vy }
287
-func (ta TypeAssertion) String() string { return fmt.Sprintf(".(%v)", ta.typ) }
+func (ta TypeAssertion) String() string { return fmt.Sprintf(".(%v)", value.TypeString(ta.typ, false)) }
288
289
// Transform is a transformation from the parent type to the current type.
290
type Transform struct{ *transform }
0 commit comments