27 lines
No EOL
677 B
Text
27 lines
No EOL
677 B
Text
==== 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.
|
|
~~~
|
|
!!! Function implementation is missing or not immediately following the declaration.
|
|
4+:5
|
|
~
|
|
!!! Expression expected.
|
|
module M {
|
|
function a(
|
|
: T) { }
|
|
~
|
|
!!! Parameter declaration expected.
|
|
}
|
|
var x =
|
|
|
|
!!! Expression expected. |