TypeScript/tests/baselines/reference/staticInstanceResolution2.symbols
2015-04-15 16:44:20 -07:00

23 lines
709 B
Plaintext

=== tests/cases/compiler/staticInstanceResolution2.ts ===
class A { }
>A : Symbol(A, Decl(staticInstanceResolution2.ts, 0, 0))
A.hasOwnProperty('foo');
>A.hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.d.ts, 105, 22))
>A : Symbol(A, Decl(staticInstanceResolution2.ts, 0, 0))
>hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.d.ts, 105, 22))
class B {
>B : Symbol(B, Decl(staticInstanceResolution2.ts, 1, 24))
constructor() { }
}
B.hasOwnProperty('foo');
>B.hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.d.ts, 105, 22))
>B : Symbol(B, Decl(staticInstanceResolution2.ts, 1, 24))
>hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.d.ts, 105, 22))