THRIFT-2089 Compiler ignores duplicate typenames
Patch: Randy Abernethy