|
|
@ -91,7 +91,7 @@ func NewType(t string) (typ Type, err error) { |
|
|
|
} |
|
|
|
} |
|
|
|
typ.Elem = &sliceType |
|
|
|
typ.Elem = &sliceType |
|
|
|
typ.stringKind = sliceType.stringKind + t[len(res[1]):] |
|
|
|
typ.stringKind = sliceType.stringKind + t[len(res[1]):] |
|
|
|
// Altough we know that this is an array, we cannot return
|
|
|
|
// Although we know that this is an array, we cannot return
|
|
|
|
// as we don't know the type of the element, however, if it
|
|
|
|
// as we don't know the type of the element, however, if it
|
|
|
|
// is still an array, then don't determine the type.
|
|
|
|
// is still an array, then don't determine the type.
|
|
|
|
if typ.Elem.IsArray || typ.Elem.IsSlice { |
|
|
|
if typ.Elem.IsArray || typ.Elem.IsSlice { |
|
|
|