Invalid struct indexing now reports errors