2015-02-03 02:36:45 +01:00
|
|
|
//// [computedPropertyNames32_ES6.ts]
|
2015-01-20 03:44:15 +01:00
|
|
|
function foo<T>() { return '' }
|
|
|
|
class C<T> {
|
|
|
|
bar() {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
[foo<T>()]() { }
|
|
|
|
}
|
|
|
|
|
2015-02-03 02:36:45 +01:00
|
|
|
//// [computedPropertyNames32_ES6.js]
|
2015-03-26 21:46:35 +01:00
|
|
|
function foo() { return ''; }
|
2015-03-16 00:29:41 +01:00
|
|
|
class C {
|
|
|
|
bar() {
|
2015-01-20 03:44:15 +01:00
|
|
|
return 0;
|
2015-03-16 00:29:41 +01:00
|
|
|
}
|
2015-03-26 21:46:35 +01:00
|
|
|
[foo()]() { }
|
2015-03-16 00:29:41 +01:00
|
|
|
}
|