Iterative resolve_type in mutator
Iterative resolve_type in mutator

Summary:
[Thrift] Iterative `resolve_type` in `mutator`.

Just a personal aversion to linearly recusive functions over linear data structures in languages missing tail-call optimization.

Reviewed By: eduardo-elizondo

Differential Revision: D5667996

fbshipit-source-id: df2b6b70972e220ef3e926d6ecfdc06bd5380dd9

getyourguide/fbthrift,getyourguide/fbthrift,getyourguide/fbthrift,facebook/fbthrift,facebook/fbthrift,getyourguide/fbthrift,getyourguide/fbthrift,facebook/fbthrift,facebook/fbthrift,getyourguide/fbthrift,facebook/fbthrift,getyourguide/fbthrift,facebook/fbthrift,getyourguide/fbthrift,getyourguide/fbthrift,getyourguide/fbthrift,getyourguide/fbthrift,facebook/fbthrift,getyourguide/fbthrift,facebook/fbthrift,facebook/fbthrift