mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-07-02 14:48:32 -05:00
Accepted baselines.
This commit is contained in:
@@ -8,6 +8,7 @@ var x = foo1;
|
||||
|
||||
class y extends x {}
|
||||
>y : Symbol(y, Decl(foo2.ts, 1, 13))
|
||||
>x : Symbol(x, Decl(foo2.ts, 1, 3))
|
||||
|
||||
=== tests/cases/conformance/classes/classExpressions/foo1.ts ===
|
||||
class x{}
|
||||
|
||||
@@ -9,4 +9,5 @@ var x = A;
|
||||
|
||||
class C extends x { } // error, could not find symbol xs
|
||||
>C : Symbol(C, Decl(extendNonClassSymbol1.ts, 1, 10))
|
||||
>x : Symbol(x, Decl(extendNonClassSymbol1.ts, 1, 3))
|
||||
|
||||
|
||||
@@ -11,6 +11,6 @@ module Foo {
|
||||
|
||||
interface B extends A { b: string; }
|
||||
>B : Symbol(B, Decl(reboundBaseClassSymbol.ts, 2, 14))
|
||||
>A : Symbol(A, Decl(reboundBaseClassSymbol.ts, 0, 0))
|
||||
>A : Symbol(A, Decl(reboundBaseClassSymbol.ts, 2, 7))
|
||||
>b : Symbol(b, Decl(reboundBaseClassSymbol.ts, 3, 27))
|
||||
}
|
||||
|
||||
@@ -12,6 +12,6 @@ module Foo {
|
||||
|
||||
interface B extends A { b: string; }
|
||||
>B : B
|
||||
>A : A
|
||||
>A : any
|
||||
>b : string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user