allow casting Typedef to another Typedef
Merge pull request #2776 from IgorStepanov/Typedef-opCast

allow casting Typedef to another Typedef