2014-12-16 10:09:42 +01:00
|
|
|
tests/cases/compiler/letDeclarations-es5-1.ts(1,5): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
|
|
|
|
tests/cases/compiler/letDeclarations-es5-1.ts(2,5): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
|
|
|
|
tests/cases/compiler/letDeclarations-es5-1.ts(3,5): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
|
|
|
|
tests/cases/compiler/letDeclarations-es5-1.ts(4,5): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
|
|
|
|
tests/cases/compiler/letDeclarations-es5-1.ts(5,5): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
|
|
|
|
tests/cases/compiler/letDeclarations-es5-1.ts(6,5): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
|
2014-11-19 08:34:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
==== tests/cases/compiler/letDeclarations-es5-1.ts (6 errors) ====
|
|
|
|
let l1;
|
2014-12-16 10:09:42 +01:00
|
|
|
~~~
|
2014-11-19 08:34:26 +01:00
|
|
|
!!! error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
|
|
|
|
let l2: number;
|
2014-12-16 10:09:42 +01:00
|
|
|
~~~
|
2014-11-19 08:34:26 +01:00
|
|
|
!!! error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
|
|
|
|
let l3, l4, l5 :string, l6;
|
2014-12-16 10:09:42 +01:00
|
|
|
~~~
|
2014-11-19 08:34:26 +01:00
|
|
|
!!! error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
|
|
|
|
let l7 = false;
|
2014-12-16 10:09:42 +01:00
|
|
|
~~~
|
2014-11-19 08:34:26 +01:00
|
|
|
!!! error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
|
|
|
|
let l8: number = 23;
|
2014-12-16 10:09:42 +01:00
|
|
|
~~~
|
2014-11-19 08:34:26 +01:00
|
|
|
!!! error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
|
|
|
|
let l9 = 0, l10 :string = "", l11 = null;
|
2014-12-16 10:09:42 +01:00
|
|
|
~~~
|
2014-11-19 08:34:26 +01:00
|
|
|
!!! error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
|