TypeScript/tests/baselines/reference/parserSkippedTokens16.errors.txt
2014-09-11 16:11:08 -07:00

27 lines
803 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens16.ts (9 errors) ====
foo(): Bar { }
~
!!! error TS1005: ';' expected.
~
!!! error TS1005: ';' expected.
~~~
!!! error TS2304: Cannot find name 'foo'.
~~~
!!! error TS2304: Cannot find name 'Bar'.
function Foo () # { }
!!! error TS1127: Invalid character.
~~~
!!! error TS2391: Function implementation is missing or not immediately following the declaration.
4+:5
~
!!! error TS1109: Expression expected.
module M {
function a(
: T) { }
~
!!! error TS1138: Parameter declaration expected.
}
var x =
!!! error TS1109: Expression expected.