TypeScript/tests/baselines/reference/qualifiedName_ImportDeclarations-entity-names-referencing-a-var.types

26 lines
1.3 KiB
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/qualifiedName_ImportDeclarations-entity-names-referencing-a-var.ts ===
module Alpha {
2015-04-13 23:01:57 +02:00
>Alpha : typeof Alpha, Symbol(Alpha, Decl(qualifiedName_ImportDeclarations-entity-names-referencing-a-var.ts, 0, 0))
2014-08-15 23:33:16 +02:00
export var x = 100;
2015-04-13 23:01:57 +02:00
>x : number, Symbol(x, Decl(qualifiedName_ImportDeclarations-entity-names-referencing-a-var.ts, 1, 14))
2015-04-13 21:36:11 +02:00
>100 : number
2014-08-15 23:33:16 +02:00
}
module Beta {
2015-04-13 23:01:57 +02:00
>Beta : any, Symbol(Beta, Decl(qualifiedName_ImportDeclarations-entity-names-referencing-a-var.ts, 2, 1))
2014-08-15 23:33:16 +02:00
import p = Alpha.x;
2015-04-13 23:01:57 +02:00
>p : number, Symbol(p, Decl(qualifiedName_ImportDeclarations-entity-names-referencing-a-var.ts, 4, 13))
>Alpha : typeof Alpha, Symbol(Alpha, Decl(qualifiedName_ImportDeclarations-entity-names-referencing-a-var.ts, 0, 0))
>x : number, Symbol(p, Decl(qualifiedName_ImportDeclarations-entity-names-referencing-a-var.ts, 1, 14))
2014-08-15 23:33:16 +02:00
}
var x = Alpha.x
2015-04-13 23:01:57 +02:00
>x : number, Symbol(x, Decl(qualifiedName_ImportDeclarations-entity-names-referencing-a-var.ts, 9, 3))
>Alpha.x : number, Symbol(Alpha.x, Decl(qualifiedName_ImportDeclarations-entity-names-referencing-a-var.ts, 1, 14))
>Alpha : typeof Alpha, Symbol(Alpha, Decl(qualifiedName_ImportDeclarations-entity-names-referencing-a-var.ts, 0, 0))
>x : number, Symbol(Alpha.x, Decl(qualifiedName_ImportDeclarations-entity-names-referencing-a-var.ts, 1, 14))
2014-08-15 23:33:16 +02:00