2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/staticsInAFunction.ts(1,13): error TS1005: '(' expected.
|
|
|
|
tests/cases/compiler/staticsInAFunction.ts(2,4): error TS1129: Statement expected.
|
|
|
|
tests/cases/compiler/staticsInAFunction.ts(3,4): error TS1129: Statement expected.
|
|
|
|
tests/cases/compiler/staticsInAFunction.ts(3,20): error TS1005: ',' expected.
|
|
|
|
tests/cases/compiler/staticsInAFunction.ts(4,4): error TS1129: Statement expected.
|
|
|
|
tests/cases/compiler/staticsInAFunction.ts(4,21): error TS1109: Expression expected.
|
|
|
|
tests/cases/compiler/staticsInAFunction.ts(4,26): error TS1005: ';' expected.
|
|
|
|
tests/cases/compiler/staticsInAFunction.ts(2,11): error TS2304: Cannot find name 'test'.
|
|
|
|
tests/cases/compiler/staticsInAFunction.ts(3,11): error TS2304: Cannot find name 'test'.
|
|
|
|
tests/cases/compiler/staticsInAFunction.ts(3,16): error TS2304: Cannot find name 'name'.
|
|
|
|
tests/cases/compiler/staticsInAFunction.ts(3,21): error TS2304: Cannot find name 'string'.
|
|
|
|
tests/cases/compiler/staticsInAFunction.ts(4,11): error TS2304: Cannot find name 'test'.
|
|
|
|
tests/cases/compiler/staticsInAFunction.ts(4,16): error TS2304: Cannot find name 'name'.
|
|
|
|
tests/cases/compiler/staticsInAFunction.ts(4,22): error TS2304: Cannot find name 'any'.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/staticsInAFunction.ts (14 errors) ====
|
|
|
|
function boo{
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1005: '(' expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
static test()
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1129: Statement expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'test'.
|
2014-07-13 01:04:16 +02:00
|
|
|
static test(name:string)
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1129: Statement expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1005: ',' expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'test'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'name'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'string'.
|
2014-07-13 01:04:16 +02:00
|
|
|
static test(name?:any){}
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1129: Statement expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1109: Expression expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1005: ';' expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'test'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'name'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'any'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
|