|
| 1 | +tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileJs.js(1,1): error TS2304: Cannot find name 'a'. |
| 2 | +tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileJs.js(1,5): error TS2304: Cannot find name 'b'. |
| 3 | +tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileJs.js(1,9): error TS2304: Cannot find name 'c'. |
| 4 | +tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileJs.js(1,14): error TS2304: Cannot find name 'd'. |
| 5 | +tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileJs.js(1,24): error TS2304: Cannot find name 'f'. |
| 6 | +tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileTs.ts(1,1): error TS2304: Cannot find name 'a'. |
| 7 | +tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileTs.ts(1,5): error TS2304: Cannot find name 'b'. |
| 8 | +tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileTs.ts(1,9): error TS2304: Cannot find name 'c'. |
| 9 | +tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileTs.ts(1,14): error TS2304: Cannot find name 'd'. |
| 10 | +tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileTs.ts(1,24): error TS2304: Cannot find name 'f'. |
| 11 | + |
| 12 | + |
| 13 | +==== tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileJs.js (5 errors) ==== |
| 14 | + a ? b ? c : (d) : e => f // Legal JS |
| 15 | + ~ |
| 16 | +!!! error TS2304: Cannot find name 'a'. |
| 17 | + ~ |
| 18 | +!!! error TS2304: Cannot find name 'b'. |
| 19 | + ~ |
| 20 | +!!! error TS2304: Cannot find name 'c'. |
| 21 | + ~ |
| 22 | +!!! error TS2304: Cannot find name 'd'. |
| 23 | + ~ |
| 24 | +!!! error TS2304: Cannot find name 'f'. |
| 25 | + |
| 26 | +==== tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileTs.ts (5 errors) ==== |
| 27 | + a ? b ? c : (d) : e => f |
| 28 | + ~ |
| 29 | +!!! error TS2304: Cannot find name 'a'. |
| 30 | + ~ |
| 31 | +!!! error TS2304: Cannot find name 'b'. |
| 32 | + ~ |
| 33 | +!!! error TS2304: Cannot find name 'c'. |
| 34 | + ~ |
| 35 | +!!! error TS2304: Cannot find name 'd'. |
| 36 | + ~ |
| 37 | +!!! error TS2304: Cannot find name 'f'. |
| 38 | + |
0 commit comments