stage1: Fix crash in comptime struct generation

Using the gen_index rather than the src_index is needed to handle
structures containing zero-sized or comptime only types.

Closes #7027
5872ae5111LemonBoy committed on 11/11/2020, 1:35:19 PM· committed by Veikka Tuominenparentc9dc30d
3 files changedLine totals unavailable