Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
convert: Don't modify the captured element type in a collection conve…
…rsion The conversion constructor functions capture their arguments into a closure to return, but some of them were then incorrectly modifying that shared variable, which meant that the result of modifications made by one call would be seen by subsequent calls, causing different (and possibly totally incorrect) behavior. We'll now directly return a replacement result type rather than modifying the variable containing the requested type.
- Loading branch information