22 lines
490 B
Text
22 lines
490 B
Text
=== tests/cases/compiler/classOrder1.ts ===
|
|
class A {
|
|
>A : Symbol(A, Decl(classOrder1.ts, 0, 0))
|
|
|
|
public foo() {
|
|
>foo : Symbol(foo, Decl(classOrder1.ts, 0, 9))
|
|
|
|
/*WScript.Echo("Here!");*/
|
|
}
|
|
}
|
|
|
|
var a = new A();
|
|
>a : Symbol(a, Decl(classOrder1.ts, 6, 3))
|
|
>A : Symbol(A, Decl(classOrder1.ts, 0, 0))
|
|
|
|
a.foo();
|
|
>a.foo : Symbol(A.foo, Decl(classOrder1.ts, 0, 9))
|
|
>a : Symbol(a, Decl(classOrder1.ts, 6, 3))
|
|
>foo : Symbol(A.foo, Decl(classOrder1.ts, 0, 9))
|
|
|
|
|
|
|