STM, newArray, and a stack overflow
|Reported by:||basvandijk||Owned by:||simonmar|
|Type of failure:||None/Unknown||Difficulty:|
|Test Case:||Blocked By:|
Ketil Malde discovered a stack overflow in the newArray method of a TArray
The attached patch fixes it by replacing replicateM, which causes the stackoverflow, with the custom rep which doesn't.