2015-02-03 02:36:45 +01:00
|
|
|
=== tests/cases/conformance/es6/computedProperties/computedPropertyNames28_ES6.ts ===
|
2015-01-20 01:27:58 +01:00
|
|
|
class Base {
|
2015-04-16 01:44:20 +02:00
|
|
|
>Base : Base
|
2015-01-20 01:27:58 +01:00
|
|
|
}
|
|
|
|
class C extends Base {
|
2015-04-16 01:44:20 +02:00
|
|
|
>C : C
|
|
|
|
>Base : Base
|
2015-01-20 01:27:58 +01:00
|
|
|
|
|
|
|
constructor() {
|
|
|
|
super();
|
|
|
|
>super() : void
|
2015-04-16 01:44:20 +02:00
|
|
|
>super : typeof Base
|
2015-01-20 01:27:58 +01:00
|
|
|
|
|
|
|
var obj = {
|
2015-04-16 01:44:20 +02:00
|
|
|
>obj : {}
|
2015-01-20 01:27:58 +01:00
|
|
|
>{ [(super(), "prop")]() { } } : {}
|
|
|
|
|
|
|
|
[(super(), "prop")]() { }
|
|
|
|
>(super(), "prop") : string
|
|
|
|
>super(), "prop" : string
|
|
|
|
>super() : void
|
2015-04-16 01:44:20 +02:00
|
|
|
>super : typeof Base
|
2015-04-13 21:36:11 +02:00
|
|
|
>"prop" : string
|
2015-01-20 01:27:58 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|