add implementaion of array alignment in reflect

Этот коммит содержится в:
Jaden Weiss 2019-10-24 10:28:59 -04:00 коммит произвёл Ayke
родитель 6b1faeb882
коммит 4339cbd56f

Просмотреть файл

@ -375,6 +375,8 @@ func (t Type) Align() int {
}
}
return alignment
case Array:
return t.Elem().Align()
default:
panic("unimplemented: alignment of type")
}