12 lines
517 B
Plaintext
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. |