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.
9 lines
337 B
Plaintext
9 lines
337 B
Plaintext
tests/cases/conformance/parser/ecmascript5/Accessors/parserAccessors10.ts(2,3): error TS1184: Modifiers cannot appear here.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/Accessors/parserAccessors10.ts (1 errors) ====
|
|
var v = {
|
|
public get foo() { }
|
|
~~~~~~
|
|
!!! error TS1184: Modifiers cannot appear here.
|
|
}; |