On Friday, 28 August 2015 at 18:46:23 UTC, Oleg wrote:
I found solution. I call length instead of reserve. It calls ensureInitialized and everything works fine. By default, Array won't initialize store.
Oh, reserve calls it too. My mistake.I found the problem, that's because I passed an empty Array (like Array!int.init).