120 lines
7.6 KiB
Text
120 lines
7.6 KiB
Text
=== tests/cases/conformance/internalModules/importDeclarations/importAliasIdentifiers.ts ===
|
|
module moduleA {
|
|
>moduleA : Symbol(moduleA, Decl(importAliasIdentifiers.ts, 0, 0))
|
|
|
|
export class Point {
|
|
>Point : Symbol(Point, Decl(importAliasIdentifiers.ts, 0, 16))
|
|
|
|
constructor(public x: number, public y: number) { }
|
|
>x : Symbol(x, Decl(importAliasIdentifiers.ts, 2, 20))
|
|
>y : Symbol(y, Decl(importAliasIdentifiers.ts, 2, 37))
|
|
}
|
|
}
|
|
|
|
import alias = moduleA;
|
|
>alias : Symbol(alias, Decl(importAliasIdentifiers.ts, 4, 1))
|
|
>moduleA : Symbol(moduleA, Decl(importAliasIdentifiers.ts, 0, 0))
|
|
|
|
var p: alias.Point;
|
|
>p : Symbol(p, Decl(importAliasIdentifiers.ts, 8, 3), Decl(importAliasIdentifiers.ts, 9, 3), Decl(importAliasIdentifiers.ts, 10, 3), Decl(importAliasIdentifiers.ts, 25, 3), Decl(importAliasIdentifiers.ts, 26, 3), Decl(importAliasIdentifiers.ts, 27, 3), Decl(importAliasIdentifiers.ts, 43, 3), Decl(importAliasIdentifiers.ts, 44, 3), Decl(importAliasIdentifiers.ts, 45, 3))
|
|
>alias : Symbol(alias, Decl(importAliasIdentifiers.ts, 4, 1))
|
|
>Point : Symbol(alias.Point, Decl(importAliasIdentifiers.ts, 0, 16))
|
|
|
|
var p: moduleA.Point;
|
|
>p : Symbol(p, Decl(importAliasIdentifiers.ts, 8, 3), Decl(importAliasIdentifiers.ts, 9, 3), Decl(importAliasIdentifiers.ts, 10, 3), Decl(importAliasIdentifiers.ts, 25, 3), Decl(importAliasIdentifiers.ts, 26, 3), Decl(importAliasIdentifiers.ts, 27, 3), Decl(importAliasIdentifiers.ts, 43, 3), Decl(importAliasIdentifiers.ts, 44, 3), Decl(importAliasIdentifiers.ts, 45, 3))
|
|
>moduleA : Symbol(moduleA, Decl(importAliasIdentifiers.ts, 0, 0))
|
|
>Point : Symbol(alias.Point, Decl(importAliasIdentifiers.ts, 0, 16))
|
|
|
|
var p: { x: number; y: number; };
|
|
>p : Symbol(p, Decl(importAliasIdentifiers.ts, 8, 3), Decl(importAliasIdentifiers.ts, 9, 3), Decl(importAliasIdentifiers.ts, 10, 3), Decl(importAliasIdentifiers.ts, 25, 3), Decl(importAliasIdentifiers.ts, 26, 3), Decl(importAliasIdentifiers.ts, 27, 3), Decl(importAliasIdentifiers.ts, 43, 3), Decl(importAliasIdentifiers.ts, 44, 3), Decl(importAliasIdentifiers.ts, 45, 3))
|
|
>x : Symbol(x, Decl(importAliasIdentifiers.ts, 10, 8))
|
|
>y : Symbol(y, Decl(importAliasIdentifiers.ts, 10, 19))
|
|
|
|
class clodule {
|
|
>clodule : Symbol(clodule, Decl(importAliasIdentifiers.ts, 10, 33), Decl(importAliasIdentifiers.ts, 14, 1))
|
|
|
|
name: string;
|
|
>name : Symbol(name, Decl(importAliasIdentifiers.ts, 12, 15))
|
|
}
|
|
|
|
module clodule {
|
|
>clodule : Symbol(clodule, Decl(importAliasIdentifiers.ts, 10, 33), Decl(importAliasIdentifiers.ts, 14, 1))
|
|
|
|
export interface Point {
|
|
>Point : Symbol(Point, Decl(importAliasIdentifiers.ts, 16, 16))
|
|
|
|
x: number; y: number;
|
|
>x : Symbol(x, Decl(importAliasIdentifiers.ts, 17, 28))
|
|
>y : Symbol(y, Decl(importAliasIdentifiers.ts, 18, 18))
|
|
}
|
|
var Point: Point = { x: 0, y: 0 };
|
|
>Point : Symbol(Point, Decl(importAliasIdentifiers.ts, 16, 16), Decl(importAliasIdentifiers.ts, 20, 7))
|
|
>Point : Symbol(Point, Decl(importAliasIdentifiers.ts, 16, 16))
|
|
>x : Symbol(x, Decl(importAliasIdentifiers.ts, 20, 24))
|
|
>y : Symbol(y, Decl(importAliasIdentifiers.ts, 20, 30))
|
|
}
|
|
|
|
import clolias = clodule;
|
|
>clolias : Symbol(clolias, Decl(importAliasIdentifiers.ts, 21, 1))
|
|
>clodule : Symbol(clodule, Decl(importAliasIdentifiers.ts, 10, 33), Decl(importAliasIdentifiers.ts, 14, 1))
|
|
|
|
var p: clolias.Point;
|
|
>p : Symbol(p, Decl(importAliasIdentifiers.ts, 8, 3), Decl(importAliasIdentifiers.ts, 9, 3), Decl(importAliasIdentifiers.ts, 10, 3), Decl(importAliasIdentifiers.ts, 25, 3), Decl(importAliasIdentifiers.ts, 26, 3), Decl(importAliasIdentifiers.ts, 27, 3), Decl(importAliasIdentifiers.ts, 43, 3), Decl(importAliasIdentifiers.ts, 44, 3), Decl(importAliasIdentifiers.ts, 45, 3))
|
|
>clolias : Symbol(clolias, Decl(importAliasIdentifiers.ts, 21, 1))
|
|
>Point : Symbol(clolias.Point, Decl(importAliasIdentifiers.ts, 16, 16))
|
|
|
|
var p: clodule.Point;
|
|
>p : Symbol(p, Decl(importAliasIdentifiers.ts, 8, 3), Decl(importAliasIdentifiers.ts, 9, 3), Decl(importAliasIdentifiers.ts, 10, 3), Decl(importAliasIdentifiers.ts, 25, 3), Decl(importAliasIdentifiers.ts, 26, 3), Decl(importAliasIdentifiers.ts, 27, 3), Decl(importAliasIdentifiers.ts, 43, 3), Decl(importAliasIdentifiers.ts, 44, 3), Decl(importAliasIdentifiers.ts, 45, 3))
|
|
>clodule : Symbol(clodule, Decl(importAliasIdentifiers.ts, 10, 33), Decl(importAliasIdentifiers.ts, 14, 1))
|
|
>Point : Symbol(clolias.Point, Decl(importAliasIdentifiers.ts, 16, 16))
|
|
|
|
var p: { x: number; y: number; };
|
|
>p : Symbol(p, Decl(importAliasIdentifiers.ts, 8, 3), Decl(importAliasIdentifiers.ts, 9, 3), Decl(importAliasIdentifiers.ts, 10, 3), Decl(importAliasIdentifiers.ts, 25, 3), Decl(importAliasIdentifiers.ts, 26, 3), Decl(importAliasIdentifiers.ts, 27, 3), Decl(importAliasIdentifiers.ts, 43, 3), Decl(importAliasIdentifiers.ts, 44, 3), Decl(importAliasIdentifiers.ts, 45, 3))
|
|
>x : Symbol(x, Decl(importAliasIdentifiers.ts, 27, 8))
|
|
>y : Symbol(y, Decl(importAliasIdentifiers.ts, 27, 19))
|
|
|
|
|
|
function fundule() {
|
|
>fundule : Symbol(fundule, Decl(importAliasIdentifiers.ts, 27, 33), Decl(importAliasIdentifiers.ts, 32, 1))
|
|
|
|
return { x: 0, y: 0 };
|
|
>x : Symbol(x, Decl(importAliasIdentifiers.ts, 31, 12))
|
|
>y : Symbol(y, Decl(importAliasIdentifiers.ts, 31, 18))
|
|
}
|
|
|
|
module fundule {
|
|
>fundule : Symbol(fundule, Decl(importAliasIdentifiers.ts, 27, 33), Decl(importAliasIdentifiers.ts, 32, 1))
|
|
|
|
export interface Point {
|
|
>Point : Symbol(Point, Decl(importAliasIdentifiers.ts, 34, 16))
|
|
|
|
x: number; y: number;
|
|
>x : Symbol(x, Decl(importAliasIdentifiers.ts, 35, 28))
|
|
>y : Symbol(y, Decl(importAliasIdentifiers.ts, 36, 18))
|
|
}
|
|
var Point: Point = { x: 0, y: 0 };
|
|
>Point : Symbol(Point, Decl(importAliasIdentifiers.ts, 34, 16), Decl(importAliasIdentifiers.ts, 38, 7))
|
|
>Point : Symbol(Point, Decl(importAliasIdentifiers.ts, 34, 16))
|
|
>x : Symbol(x, Decl(importAliasIdentifiers.ts, 38, 24))
|
|
>y : Symbol(y, Decl(importAliasIdentifiers.ts, 38, 30))
|
|
}
|
|
|
|
import funlias = fundule;
|
|
>funlias : Symbol(funlias, Decl(importAliasIdentifiers.ts, 39, 1))
|
|
>fundule : Symbol(fundule, Decl(importAliasIdentifiers.ts, 27, 33), Decl(importAliasIdentifiers.ts, 32, 1))
|
|
|
|
var p: funlias.Point;
|
|
>p : Symbol(p, Decl(importAliasIdentifiers.ts, 8, 3), Decl(importAliasIdentifiers.ts, 9, 3), Decl(importAliasIdentifiers.ts, 10, 3), Decl(importAliasIdentifiers.ts, 25, 3), Decl(importAliasIdentifiers.ts, 26, 3), Decl(importAliasIdentifiers.ts, 27, 3), Decl(importAliasIdentifiers.ts, 43, 3), Decl(importAliasIdentifiers.ts, 44, 3), Decl(importAliasIdentifiers.ts, 45, 3))
|
|
>funlias : Symbol(funlias, Decl(importAliasIdentifiers.ts, 39, 1))
|
|
>Point : Symbol(funlias.Point, Decl(importAliasIdentifiers.ts, 34, 16))
|
|
|
|
var p: fundule.Point;
|
|
>p : Symbol(p, Decl(importAliasIdentifiers.ts, 8, 3), Decl(importAliasIdentifiers.ts, 9, 3), Decl(importAliasIdentifiers.ts, 10, 3), Decl(importAliasIdentifiers.ts, 25, 3), Decl(importAliasIdentifiers.ts, 26, 3), Decl(importAliasIdentifiers.ts, 27, 3), Decl(importAliasIdentifiers.ts, 43, 3), Decl(importAliasIdentifiers.ts, 44, 3), Decl(importAliasIdentifiers.ts, 45, 3))
|
|
>fundule : Symbol(fundule, Decl(importAliasIdentifiers.ts, 27, 33), Decl(importAliasIdentifiers.ts, 32, 1))
|
|
>Point : Symbol(funlias.Point, Decl(importAliasIdentifiers.ts, 34, 16))
|
|
|
|
var p: { x: number; y: number; };
|
|
>p : Symbol(p, Decl(importAliasIdentifiers.ts, 8, 3), Decl(importAliasIdentifiers.ts, 9, 3), Decl(importAliasIdentifiers.ts, 10, 3), Decl(importAliasIdentifiers.ts, 25, 3), Decl(importAliasIdentifiers.ts, 26, 3), Decl(importAliasIdentifiers.ts, 27, 3), Decl(importAliasIdentifiers.ts, 43, 3), Decl(importAliasIdentifiers.ts, 44, 3), Decl(importAliasIdentifiers.ts, 45, 3))
|
|
>x : Symbol(x, Decl(importAliasIdentifiers.ts, 45, 8))
|
|
>y : Symbol(y, Decl(importAliasIdentifiers.ts, 45, 19))
|
|
|