diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-05-01 13:05:28 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-05-01 13:31:17 +0200 |
| commit | bc734e7ada413654f1b7d948b2a857260a52dd9c (patch) | |
| tree | d57850becd293255b0f59d7225827f5af2154a1f /prog/any_test.go | |
| parent | 43dc635b4f46cdebced3702b6c5a4f935e8c3643 (diff) | |
prog: rename {PtrType,ArrayType}.Type to Elem
Name "Type" is confusing when referring to pointer/array element type.
Frequently there are too many Type/typ/typ1/t and typ.Type is not very informative.
It _is_ a type, but what's usually more relevant is that it's an _element_ type.
Let's leave type checking to compiler and give it a more meaningful name.
Diffstat (limited to 'prog/any_test.go')
0 files changed, 0 insertions, 0 deletions
