Simplify flags propagation logic
Simplify flags propagation logic

microsoft/TypeScript,kitsonk/TypeScript,kitsonk/TypeScript,weswigham/TypeScript,Microsoft/TypeScript,SaschaNaz/TypeScript,nojvek/TypeScript,minestarks/TypeScript,SaschaNaz/TypeScript,minestarks/TypeScript,RyanCavanaugh/TypeScript,kpreisser/TypeScript,weswigham/TypeScript,alexeagle/TypeScript,minestarks/TypeScript,nojvek/TypeScript,kpreisser/TypeScript,microsoft/TypeScript,nojvek/TypeScript,microsoft/TypeScript,SaschaNaz/TypeScript,alexeagle/TypeScript,Microsoft/TypeScript,SaschaNaz/TypeScript,weswigham/TypeScript,kpreisser/TypeScript,nojvek/TypeScript,kitsonk/TypeScript,Microsoft/TypeScript,RyanCavanaugh/TypeScript,alexeagle/TypeScript,RyanCavanaugh/TypeScript