@@ -4,14 +4,14 @@ enumAssignmentCompat3.ts(70,1): error TS2322: Type 'Cd.E' is not assignable to t
44 Each declaration of 'E.c' differs in its value, where '2' was expected but '0' was given.
55enumAssignmentCompat3.ts(71,1): error TS2322: Type 'Nope' is not assignable to type 'E'.
66enumAssignmentCompat3.ts(72,1): error TS2322: Type 'Decl.E' is not assignable to type 'First.E'.
7- Each declaration of 'E.c' differs in its value, where '2' was expected but '3' was given .
7+ Values of 'E.a' are not sufficiently known .
88enumAssignmentCompat3.ts(75,1): error TS2322: Type 'First.E' is not assignable to type 'Ab.E'.
99 Property 'c' is missing in type 'Ab.E'.
1010enumAssignmentCompat3.ts(76,1): error TS2322: Type 'First.E' is not assignable to type 'Cd.E'.
1111 Property 'a' is missing in type 'Cd.E'.
1212enumAssignmentCompat3.ts(77,1): error TS2322: Type 'E' is not assignable to type 'Nope'.
1313enumAssignmentCompat3.ts(78,1): error TS2322: Type 'First.E' is not assignable to type 'Decl.E'.
14- Each declaration of 'E.c' differs in its value, where '3' was expected but '2' was given .
14+ Values of 'E.a' are not sufficiently known .
1515enumAssignmentCompat3.ts(82,1): error TS2322: Type 'Const.E' is not assignable to type 'First.E'.
1616enumAssignmentCompat3.ts(83,1): error TS2322: Type 'First.E' is not assignable to type 'Const.E'.
1717enumAssignmentCompat3.ts(86,1): error TS2322: Type 'Merged.E' is not assignable to type 'First.E'.
@@ -103,7 +103,7 @@ enumAssignmentCompat3.ts(87,1): error TS2322: Type 'First.E' is not assignable t
103103 abc = decl; // bad - value of 'c' differs between these enums
104104 ~~~
105105!!! error TS2322: Type 'Decl.E' is not assignable to type 'First.E'.
106- !!! error TS2322: Each declaration of 'E.c' differs in its value, where '2' was expected but '3' was given .
106+ !!! error TS2322: Values of 'E.a' are not sufficiently known .
107107 secondAbc = abc; // ok
108108 secondAbcd = abc; // ok
109109 secondAb = abc; // missing 'c'
@@ -120,7 +120,7 @@ enumAssignmentCompat3.ts(87,1): error TS2322: Type 'First.E' is not assignable t
120120 decl = abc; // bad - value of 'c' differs between these enums
121121 ~~~~
122122!!! error TS2322: Type 'First.E' is not assignable to type 'Decl.E'.
123- !!! error TS2322: Each declaration of 'E.c' differs in its value, where '3' was expected but '2' was given .
123+ !!! error TS2322: Values of 'E.a' are not sufficiently known .
124124
125125 // const is only assignable to itself
126126 k = k;
0 commit comments