|
1 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(2,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
2 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(3,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
3 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(5,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
4 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(6,19): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
5 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(8,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
6 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(9,17): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
7 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(11,19): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
8 | 1 | tests/cases/compiler/divergentAccessorsVisibility1.ts(11,19): error TS2798: A get accessor must be at least as accessible as the setter
|
9 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(12,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
10 | 2 | tests/cases/compiler/divergentAccessorsVisibility1.ts(12,9): error TS2798: A get accessor must be at least as accessible as the setter
|
11 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(14,19): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
12 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(15,19): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
13 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(17,19): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
14 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(18,17): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
15 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(20,17): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
16 | 3 | tests/cases/compiler/divergentAccessorsVisibility1.ts(20,17): error TS2798: A get accessor must be at least as accessible as the setter
|
17 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(21,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
18 | 4 | tests/cases/compiler/divergentAccessorsVisibility1.ts(21,9): error TS2798: A get accessor must be at least as accessible as the setter
|
19 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(23,17): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
20 | 5 | tests/cases/compiler/divergentAccessorsVisibility1.ts(23,17): error TS2798: A get accessor must be at least as accessible as the setter
|
21 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(24,19): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
22 | 6 | tests/cases/compiler/divergentAccessorsVisibility1.ts(24,19): error TS2798: A get accessor must be at least as accessible as the setter
|
23 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(26,17): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
24 |
| -tests/cases/compiler/divergentAccessorsVisibility1.ts(27,17): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
25 | 7 | tests/cases/compiler/divergentAccessorsVisibility1.ts(66,14): error TS2341: Property 'PublicPrivate' is private and only accessible within class 'Base'.
|
26 | 8 | tests/cases/compiler/divergentAccessorsVisibility1.ts(69,14): error TS2341: Property 'ProtectedPrivate' is private and only accessible within class 'Base'.
|
27 | 9 | tests/cases/compiler/divergentAccessorsVisibility1.ts(72,14): error TS2341: Property 'PrivatePrivate' is private and only accessible within class 'Base'.
|
@@ -69,82 +51,46 @@ tests/cases/compiler/divergentAccessorsVisibility1.ts(155,11): error TS2445: Pro
|
69 | 51 | tests/cases/compiler/divergentAccessorsVisibility1.ts(156,11): error TS2341: Property 'PrivatePrivate' is private and only accessible within class 'Base'.
|
70 | 52 |
|
71 | 53 |
|
72 |
| -==== tests/cases/compiler/divergentAccessorsVisibility1.ts (69 errors) ==== |
| 54 | +==== tests/cases/compiler/divergentAccessorsVisibility1.ts (51 errors) ==== |
73 | 55 | class Base {
|
74 | 56 | get PublicPublic() { return 0; }
|
75 |
| - ~~~~~~~~~~~~ |
76 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
77 | 57 | set PublicPublic(v) { return; }
|
78 |
| - ~~~~~~~~~~~~ |
79 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
80 | 58 |
|
81 | 59 | get PublicProtected() { return 0; }
|
82 |
| - ~~~~~~~~~~~~~~~ |
83 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
84 | 60 | protected set PublicProtected(v) { return; }
|
85 |
| - ~~~~~~~~~~~~~~~ |
86 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
87 | 61 |
|
88 | 62 | get PublicPrivate() { return 0; }
|
89 |
| - ~~~~~~~~~~~~~ |
90 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
91 | 63 | private set PublicPrivate(v) { return; }
|
92 |
| - ~~~~~~~~~~~~~ |
93 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
94 | 64 |
|
95 | 65 | protected get ProtectedPublic() { return 0; }
|
96 | 66 | ~~~~~~~~~~~~~~~
|
97 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
98 |
| - ~~~~~~~~~~~~~~~ |
99 | 67 | !!! error TS2798: A get accessor must be at least as accessible as the setter
|
100 | 68 | set ProtectedPublic(v) { return; }
|
101 | 69 | ~~~~~~~~~~~~~~~
|
102 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
103 |
| - ~~~~~~~~~~~~~~~ |
104 | 70 | !!! error TS2798: A get accessor must be at least as accessible as the setter
|
105 | 71 |
|
106 | 72 | protected get ProtectedProtected() { return 0; }
|
107 |
| - ~~~~~~~~~~~~~~~~~~ |
108 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
109 | 73 | protected set ProtectedProtected(v) { return; }
|
110 |
| - ~~~~~~~~~~~~~~~~~~ |
111 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
112 | 74 |
|
113 | 75 | protected get ProtectedPrivate() { return 0; }
|
114 |
| - ~~~~~~~~~~~~~~~~ |
115 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
116 | 76 | private set ProtectedPrivate(v) { return; }
|
117 |
| - ~~~~~~~~~~~~~~~~ |
118 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
119 | 77 |
|
120 | 78 | private get PrivatePublic() { return 0; }
|
121 | 79 | ~~~~~~~~~~~~~
|
122 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
123 |
| - ~~~~~~~~~~~~~ |
124 | 80 | !!! error TS2798: A get accessor must be at least as accessible as the setter
|
125 | 81 | set PrivatePublic(v) { return; }
|
126 | 82 | ~~~~~~~~~~~~~
|
127 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
128 |
| - ~~~~~~~~~~~~~ |
129 | 83 | !!! error TS2798: A get accessor must be at least as accessible as the setter
|
130 | 84 |
|
131 | 85 | private get PrivateProtected() { return 0; }
|
132 | 86 | ~~~~~~~~~~~~~~~~
|
133 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
134 |
| - ~~~~~~~~~~~~~~~~ |
135 | 87 | !!! error TS2798: A get accessor must be at least as accessible as the setter
|
136 | 88 | protected set PrivateProtected(v) { return; }
|
137 | 89 | ~~~~~~~~~~~~~~~~
|
138 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
139 |
| - ~~~~~~~~~~~~~~~~ |
140 | 90 | !!! error TS2798: A get accessor must be at least as accessible as the setter
|
141 | 91 |
|
142 | 92 | private get PrivatePrivate() { return 0; }
|
143 |
| - ~~~~~~~~~~~~~~ |
144 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
145 | 93 | private set PrivatePrivate(v) { return; }
|
146 |
| - ~~~~~~~~~~~~~~ |
147 |
| -!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. |
148 | 94 |
|
149 | 95 | test() {
|
150 | 96 | this.PublicPublic = 0;
|
|
0 commit comments