diff --git a/types/dynamic/dynamic_test.go b/types/dynamic/dynamic_test.go index 425aaf0d07..b6d3e2e476 100644 --- a/types/dynamic/dynamic_test.go +++ b/types/dynamic/dynamic_test.go @@ -100,8 +100,8 @@ func (m MyType) MarshalJSON() ([]byte, error) { } func (m *MyType) UnmarshalJSON(p []byte) error { - type __ MyType - var x __ + type temporary MyType + var x temporary if err := json.Unmarshal(p, &x); err != nil { return err }