Bug225: Incorrect scan for duplicate aliased subtype slice.
This commit is contained in:
parent
0a7e0b5392
commit
75fbc1baaf
4 changed files with 138 additions and 4 deletions
|
|
@ -132,7 +132,7 @@ func (s *ScanContext) getGroupKey(structType reflect.Type, structField *reflect.
|
|||
mapKey := structType.Name()
|
||||
|
||||
if structField != nil {
|
||||
mapKey = concat(mapKey, structField.Type.String())
|
||||
mapKey = concat(mapKey, structField.Type.String(), string(structField.Tag))
|
||||
}
|
||||
|
||||
if groupKeyInfo, ok := s.groupKeyInfoCache[mapKey]; ok {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue