2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens16.ts (9 errors) ====
|
|
|
|
foo(): Bar { }
|
|
|
|
~
|
|
|
|
!!! ';' expected.
|
|
|
|
~
|
|
|
|
!!! ';' expected.
|
|
|
|
~~~
|
|
|
|
!!! Cannot find name 'foo'.
|
|
|
|
~~~
|
|
|
|
!!! Cannot find name 'Bar'.
|
|
|
|
function Foo () # { }
|
|
|
|
|
|
|
|
!!! Invalid character.
|
2014-07-31 01:27:13 +02:00
|
|
|
~~~
|
|
|
|
!!! Function implementation is missing.
|
2014-07-13 01:04:16 +02:00
|
|
|
4+:5
|
|
|
|
~
|
|
|
|
!!! Expression expected.
|
|
|
|
module M {
|
|
|
|
function a(
|
|
|
|
: T) { }
|
|
|
|
~
|
|
|
|
!!! Parameter declaration expected.
|
|
|
|
}
|
|
|
|
var x =
|
|
|
|
|
|
|
|
!!! Expression expected.
|