|
1 |
| -tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(3,1): error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
2 |
| -tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(5,1): error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
3 |
| -tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(7,1): error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
4 |
| -tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(9,1): error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
5 |
| -tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(11,1): error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
6 |
| -tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(13,1): error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
7 |
| -tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(15,1): error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
8 |
| -tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(17,1): error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
9 |
| -tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(19,1): error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
10 |
| -tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(19,1): error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
11 |
| -tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(21,1): error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
12 |
| -tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(21,1): error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 1 | +tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(3,1): error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 2 | +tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(5,1): error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 3 | +tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(7,1): error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 4 | +tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(9,1): error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 5 | +tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(11,1): error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 6 | +tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(13,1): error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 7 | +tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(15,1): error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 8 | +tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(17,1): error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 9 | +tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(19,1): error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 10 | +tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(19,1): error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 11 | +tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(21,1): error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 12 | +tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts(21,1): error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
13 | 13 |
|
14 | 14 |
|
15 | 15 | ==== tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts (12 errors) ====
|
16 | 16 | var f: any;
|
17 | 17 |
|
18 | 18 | f `abc`
|
19 | 19 | ~~~~~~~
|
20 |
| -!!! error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 20 | +!!! error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
21 | 21 |
|
22 | 22 | f `abc${1}def${2}ghi`;
|
23 | 23 | ~~~~~~~~~~~~~~~~~~~~~
|
24 |
| -!!! error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 24 | +!!! error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
25 | 25 |
|
26 | 26 | f.g.h `abc`
|
27 | 27 | ~~~~~~~~~~~
|
28 |
| -!!! error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 28 | +!!! error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
29 | 29 |
|
30 | 30 | f.g.h `abc${1}def${2}ghi`;
|
31 | 31 | ~~~~~~~~~~~~~~~~~~~~~~~~~
|
32 |
| -!!! error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 32 | +!!! error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
33 | 33 |
|
34 | 34 | f `abc`.member
|
35 | 35 | ~~~~~~~
|
36 |
| -!!! error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 36 | +!!! error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
37 | 37 |
|
38 | 38 | f `abc${1}def${2}ghi`.member;
|
39 | 39 | ~~~~~~~~~~~~~~~~~~~~~
|
40 |
| -!!! error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 40 | +!!! error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
41 | 41 |
|
42 | 42 | f `abc`["member"];
|
43 | 43 | ~~~~~~~
|
44 |
| -!!! error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 44 | +!!! error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
45 | 45 |
|
46 | 46 | f `abc${1}def${2}ghi`["member"];
|
47 | 47 | ~~~~~~~~~~~~~~~~~~~~~
|
48 |
| -!!! error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 48 | +!!! error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
49 | 49 |
|
50 | 50 | f `abc`["member"].someOtherTag `abc${1}def${2}ghi`;
|
51 | 51 | ~~~~~~~
|
52 |
| -!!! error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 52 | +!!! error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
53 | 53 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
54 |
| -!!! error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 54 | +!!! error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
55 | 55 |
|
56 | 56 | f `abc${1}def${2}ghi`["member"].someOtherTag `abc${1}def${2}ghi`;
|
57 | 57 | ~~~~~~~~~~~~~~~~~~~~~
|
58 |
| -!!! error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 58 | +!!! error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
59 | 59 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
60 |
| -!!! error TS1160: Tagged templates are only available when targeting ECMAScript 6 and higher. |
| 60 | +!!! error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher. |
61 | 61 |
|
62 | 62 | f.thisIsNotATag(`abc`);
|
63 | 63 |
|
|
0 commit comments