=== tests/cases/conformance/types/intersection/intersectionTypeAssignment.ts ===
var a: { a: string };
>a : Symbol(a, Decl(intersectionTypeAssignment.ts, 0, 3))
>a : Symbol(a, Decl(intersectionTypeAssignment.ts, 0, 8))

var b: { b: string };
>b : Symbol(b, Decl(intersectionTypeAssignment.ts, 1, 3))
>b : Symbol(b, Decl(intersectionTypeAssignment.ts, 1, 8))

var x: { a: string, b: string };
>x : Symbol(x, Decl(intersectionTypeAssignment.ts, 2, 3))
>a : Symbol(a, Decl(intersectionTypeAssignment.ts, 2, 8))
>b : Symbol(b, Decl(intersectionTypeAssignment.ts, 2, 19))

var y: { a: string } & { b: string };
>y : Symbol(y, Decl(intersectionTypeAssignment.ts, 3, 3))
>a : Symbol(a, Decl(intersectionTypeAssignment.ts, 3, 8))
>b : Symbol(b, Decl(intersectionTypeAssignment.ts, 3, 24))

a = x;
>a : Symbol(a, Decl(intersectionTypeAssignment.ts, 0, 3))
>x : Symbol(x, Decl(intersectionTypeAssignment.ts, 2, 3))

a = y;
>a : Symbol(a, Decl(intersectionTypeAssignment.ts, 0, 3))
>y : Symbol(y, Decl(intersectionTypeAssignment.ts, 3, 3))

x = a;  // Error
>x : Symbol(x, Decl(intersectionTypeAssignment.ts, 2, 3))
>a : Symbol(a, Decl(intersectionTypeAssignment.ts, 0, 3))

y = a;  // Error
>y : Symbol(y, Decl(intersectionTypeAssignment.ts, 3, 3))
>a : Symbol(a, Decl(intersectionTypeAssignment.ts, 0, 3))

b = x;
>b : Symbol(b, Decl(intersectionTypeAssignment.ts, 1, 3))
>x : Symbol(x, Decl(intersectionTypeAssignment.ts, 2, 3))

b = y;
>b : Symbol(b, Decl(intersectionTypeAssignment.ts, 1, 3))
>y : Symbol(y, Decl(intersectionTypeAssignment.ts, 3, 3))

x = b;  // Error
>x : Symbol(x, Decl(intersectionTypeAssignment.ts, 2, 3))
>b : Symbol(b, Decl(intersectionTypeAssignment.ts, 1, 3))

y = b;  // Error
>y : Symbol(y, Decl(intersectionTypeAssignment.ts, 3, 3))
>b : Symbol(b, Decl(intersectionTypeAssignment.ts, 1, 3))

x = y;
>x : Symbol(x, Decl(intersectionTypeAssignment.ts, 2, 3))
>y : Symbol(y, Decl(intersectionTypeAssignment.ts, 3, 3))

y = x;
>y : Symbol(y, Decl(intersectionTypeAssignment.ts, 3, 3))
>x : Symbol(x, Decl(intersectionTypeAssignment.ts, 2, 3))

