32 lines
944 B
Plaintext
32 lines
944 B
Plaintext
=== tests/cases/conformance/es6/computedProperties/computedPropertyNames31_ES5.ts ===
|
|
class Base {
|
|
>Base : Symbol(Base, Decl(computedPropertyNames31_ES5.ts, 0, 0))
|
|
|
|
bar() {
|
|
>bar : Symbol(bar, Decl(computedPropertyNames31_ES5.ts, 0, 12))
|
|
|
|
return 0;
|
|
}
|
|
}
|
|
class C extends Base {
|
|
>C : Symbol(C, Decl(computedPropertyNames31_ES5.ts, 4, 1))
|
|
>Base : Symbol(Base, Decl(computedPropertyNames31_ES5.ts, 0, 0))
|
|
|
|
foo() {
|
|
>foo : Symbol(foo, Decl(computedPropertyNames31_ES5.ts, 5, 22))
|
|
|
|
() => {
|
|
var obj = {
|
|
>obj : Symbol(obj, Decl(computedPropertyNames31_ES5.ts, 8, 15))
|
|
|
|
[super.bar()]() { } // needs capture
|
|
>super.bar : Symbol(Base.bar, Decl(computedPropertyNames31_ES5.ts, 0, 12))
|
|
>super : Symbol(Base, Decl(computedPropertyNames31_ES5.ts, 0, 0))
|
|
>bar : Symbol(Base.bar, Decl(computedPropertyNames31_ES5.ts, 0, 12))
|
|
|
|
};
|
|
}
|
|
return 0;
|
|
}
|
|
}
|