TypeScript/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors2.errors.txt

58 lines
3 KiB
Plaintext
Raw Normal View History

tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(1,12): error TS2304: Cannot find name 'a'.
tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(1,16): error TS2304: Cannot find name 'b'.
tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(1,19): error TS2304: Cannot find name 'c'.
tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(1,23): error TS1005: ';' expected.
tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(1,26): error TS2304: Cannot find name 'a'.
tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(1,28): error TS2304: Cannot find name 'b'.
tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(1,30): error TS2304: Cannot find name 'c'.
tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(2,13): error TS2304: Cannot find name 'a'.
tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(2,17): error TS2304: Cannot find name 'b'.
tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(2,20): error TS2304: Cannot find name 'c'.
tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(2,23): error TS1005: ';' expected.
tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(2,26): error TS2304: Cannot find name 'a'.
tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(2,28): error TS2304: Cannot find name 'b'.
tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(2,30): error TS2304: Cannot find name 'c'.
tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(4,13): error TS2304: Cannot find name 'a'.
tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(4,17): error TS1005: ';' expected.
tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts(4,20): error TS2304: Cannot find name 'a'.
2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts (17 errors) ====
var tt1 = (a, (b, c)) => a+b+c;
~
!!! error TS2304: Cannot find name 'a'.
2014-07-13 01:04:16 +02:00
~
!!! error TS2304: Cannot find name 'b'.
2014-07-13 01:04:16 +02:00
~
!!! error TS2304: Cannot find name 'c'.
~~
!!! error TS1005: ';' expected.
2014-07-13 01:04:16 +02:00
~
!!! error TS2304: Cannot find name 'a'.
2014-07-13 01:04:16 +02:00
~
!!! error TS2304: Cannot find name 'b'.
2014-07-13 01:04:16 +02:00
~
!!! error TS2304: Cannot find name 'c'.
2014-07-13 01:04:16 +02:00
var tt2 = ((a), b, c) => a+b+c;
~
!!! error TS2304: Cannot find name 'a'.
2014-07-13 01:04:16 +02:00
~
!!! error TS2304: Cannot find name 'b'.
2014-07-13 01:04:16 +02:00
~
!!! error TS2304: Cannot find name 'c'.
~~
!!! error TS1005: ';' expected.
2014-07-13 01:04:16 +02:00
~
!!! error TS2304: Cannot find name 'a'.
2014-07-13 01:04:16 +02:00
~
!!! error TS2304: Cannot find name 'b'.
2014-07-13 01:04:16 +02:00
~
!!! error TS2304: Cannot find name 'c'.
2014-07-13 01:04:16 +02:00
var tt3 = ((a)) => a;
~
!!! error TS2304: Cannot find name 'a'.
~~
!!! error TS1005: ';' expected.
2014-07-13 01:04:16 +02:00
~
!!! error TS2304: Cannot find name 'a'.