Bug225: Incorrect scan for duplicate aliased subtype slice.

This commit is contained in:
go-jet 2023-07-19 14:24:25 +02:00
parent 0a7e0b5392
commit 75fbc1baaf
4 changed files with 138 additions and 4 deletions

View file

@ -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 {