2015-02-20 01:36:48 +01:00
|
|
|
tests/cases/conformance/parser/ecmascript6/Iterators/parserForOfStatement1.d.ts(1,1): error TS1036: Statements are not allowed in ambient contexts.
|
2015-02-24 03:06:38 +01:00
|
|
|
tests/cases/conformance/parser/ecmascript6/Iterators/parserForOfStatement1.d.ts(1,15): error TS2304: Cannot find name 'e'.
|
2015-02-17 21:38:21 +01:00
|
|
|
|
|
|
|
|
2015-02-24 03:06:38 +01:00
|
|
|
==== tests/cases/conformance/parser/ecmascript6/Iterators/parserForOfStatement1.d.ts (2 errors) ====
|
2015-02-17 21:38:21 +01:00
|
|
|
for (var i of e) {
|
|
|
|
~~~
|
2015-02-20 01:36:48 +01:00
|
|
|
!!! error TS1036: Statements are not allowed in ambient contexts.
|
2015-02-24 03:06:38 +01:00
|
|
|
~
|
|
|
|
!!! error TS2304: Cannot find name 'e'.
|
2015-02-17 21:38:21 +01:00
|
|
|
}
|