TypeScript/tests/cases/compiler/classExpressionWithStaticPropertiesES61.ts
Yui be2ca35b00 Fix 8467: Fix incorrect emit for accessing static property in static propertyDeclaration (#8551)
* Fix incorrect emit for accessing static property in static propertyDeclaration

* Update tests and baselines

* Update function name

* Fix when accessing static property inside arrow function

* Add tests and baselines
2016-06-24 17:40:07 -07:00

6 lines
No EOL
101 B
TypeScript

//@target: es6
var v = class C {
static a = 1;
static b = 2;
static c = C.a + 3;
};