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

12 lines
517 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ParameterLists/parserErrorRecovery_ParameterList6.ts (4 errors) ====
class Foo {
public banana (x: break) { }
~~~~~
!!! error TS1110: Type expected.
~
!!! error TS1003: Identifier expected.
~~~~~~
!!! error TS2391: Function implementation is missing or not immediately following the declaration.
}
~
!!! error TS1128: Declaration or statement expected.