=== tests/cases/conformance/controlFlow/controlFlowAssignmentExpression.ts ===
let x: string | boolean | number;
>x : string | number | boolean

let obj: any;
>obj : any

x = "";
>x = "" : ""
>x : string | number | boolean
>"" : ""

x = x.length;
>x = x.length : number
>x : string | number | boolean
>x.length : number
>x : string
>length : number

x; // number
>x : number

x = true;
>x = true : true
>x : string | number | boolean
>true : true

(x = "", obj).foo = (x = x.length);
>(x = "", obj).foo = (x = x.length) : number
>(x = "", obj).foo : any
>(x = "", obj) : any
>x = "", obj : any
>x = "" : ""
>x : string | number | boolean
>"" : ""
>obj : any
>foo : any
>(x = x.length) : number
>x = x.length : number
>x : string | number | boolean
>x.length : number
>x : string
>length : number

x; // number
>x : number

