29 lines
1.1 KiB
Text
29 lines
1.1 KiB
Text
=== tests/cases/compiler/aliasUsedAsNameValue_2.ts ===
|
|
///<reference path='aliasUsedAsNameValue_0.ts' />
|
|
///<reference path='aliasUsedAsNameValue_1.ts' />
|
|
import mod = require("aliasUsedAsNameValue_0");
|
|
>mod : Symbol(mod, Decl(aliasUsedAsNameValue_2.ts, 0, 0))
|
|
|
|
import b = require("aliasUsedAsNameValue_1");
|
|
>b : Symbol(b, Decl(aliasUsedAsNameValue_2.ts, 2, 47))
|
|
|
|
export var a = function () {
|
|
>a : Symbol(a, Decl(aliasUsedAsNameValue_2.ts, 5, 10))
|
|
|
|
//var x = mod.id; // TODO needed hack that mod is loaded
|
|
b.b(mod);
|
|
>b.b : Symbol(b.b, Decl(aliasUsedAsNameValue_1.ts, 0, 0))
|
|
>b : Symbol(b, Decl(aliasUsedAsNameValue_2.ts, 2, 47))
|
|
>b : Symbol(b.b, Decl(aliasUsedAsNameValue_1.ts, 0, 0))
|
|
>mod : Symbol(mod, Decl(aliasUsedAsNameValue_2.ts, 0, 0))
|
|
}
|
|
|
|
=== tests/cases/compiler/aliasUsedAsNameValue_0.ts ===
|
|
export var id: number;
|
|
>id : Symbol(id, Decl(aliasUsedAsNameValue_0.ts, 0, 10))
|
|
|
|
=== tests/cases/compiler/aliasUsedAsNameValue_1.ts ===
|
|
export function b(a: any): any { return null; }
|
|
>b : Symbol(b, Decl(aliasUsedAsNameValue_1.ts, 0, 0))
|
|
>a : Symbol(a, Decl(aliasUsedAsNameValue_1.ts, 0, 18))
|
|
|