TypeScript/tests/baselines/reference/overloadingStaticFunctionsInFunctions.errors.txt
2014-07-12 17:30:19 -07:00

34 lines
874 B
Plaintext

==== tests/cases/compiler/overloadingStaticFunctionsInFunctions.ts (14 errors) ====
function boo {
~
!!! '(' expected.
static test()
~~~~~~
!!! Statement expected.
~~~~
!!! Cannot find name 'test'.
static test(name:string)
~~~~~~
!!! Statement expected.
~
!!! ',' expected.
~~~~
!!! Cannot find name 'test'.
~~~~
!!! Cannot find name 'name'.
~~~~~~
!!! Cannot find name 'string'.
static test(name?:any){ }
~~~~~~
!!! Statement expected.
~
!!! Expression expected.
~
!!! ';' expected.
~~~~
!!! Cannot find name 'test'.
~~~~
!!! Cannot find name 'name'.
~~~
!!! Cannot find name 'any'.
}