TypeScript/tests/baselines/reference/parserAccessors10.errors.txt

10 lines
312 B
Text
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/Accessors/parserAccessors10.ts (3 errors) ====
var v = {
public get foo() { }
~~~
!!! error TS1005: ':' expected.
2014-07-13 01:04:16 +02:00
~~~
!!! error TS1005: ',' expected.
2014-07-13 01:04:16 +02:00
~~~
!!! error TS2304: Cannot find name 'get'.
2014-07-13 01:04:16 +02:00
};