fe57f3d2e4
This makes parsing of these constructs the same whether they are in an object literal or a class. This is important for incrementla parsing for knowing if we can reuse these nodes if we run into them.
15 lines
864 B
Plaintext
15 lines
864 B
Plaintext
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ParameterLists/parserErrorRecovery_ParameterList6.ts(2,23): error TS1110: Type expected.
|
|
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ParameterLists/parserErrorRecovery_ParameterList6.ts(2,28): error TS1003: Identifier expected.
|
|
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ParameterLists/parserErrorRecovery_ParameterList6.ts(3,1): error TS1128: Declaration or statement expected.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ParameterLists/parserErrorRecovery_ParameterList6.ts (3 errors) ====
|
|
class Foo {
|
|
public banana (x: break) { }
|
|
~~~~~
|
|
!!! error TS1110: Type expected.
|
|
~
|
|
!!! error TS1003: Identifier expected.
|
|
}
|
|
~
|
|
!!! error TS1128: Declaration or statement expected. |