05.09.2019 14:17, berni пишет: >> Point[long] q; >> >> q[1] = Point(3); > > Leads to: > >> test.d(7): Error: cannot modify struct q[1L] Point with immutable members > > But why do you try to modify immutable data? What is your point? Could you describe you use case?