61 lines
2.7 KiB
Text
61 lines
2.7 KiB
Text
=== tests/cases/compiler/externalModuleAssignToVar_core.ts ===
|
|
///<reference path='externalModuleAssignToVar_core_require.ts'/>
|
|
import ext = require('externalModuleAssignToVar_core_require');
|
|
>ext : Symbol(ext, Decl(externalModuleAssignToVar_core.ts, 0, 0))
|
|
|
|
var y1: { C: new() => ext.C; } = ext;
|
|
>y1 : Symbol(y1, Decl(externalModuleAssignToVar_core.ts, 2, 3))
|
|
>C : Symbol(C, Decl(externalModuleAssignToVar_core.ts, 2, 9))
|
|
>ext : Symbol(ext, Decl(externalModuleAssignToVar_core.ts, 0, 0))
|
|
>C : Symbol(ext.C, Decl(externalModuleAssignToVar_core_require.ts, 0, 0))
|
|
>ext : Symbol(ext, Decl(externalModuleAssignToVar_core.ts, 0, 0))
|
|
|
|
y1 = ext; // ok
|
|
>y1 : Symbol(y1, Decl(externalModuleAssignToVar_core.ts, 2, 3))
|
|
>ext : Symbol(ext, Decl(externalModuleAssignToVar_core.ts, 0, 0))
|
|
|
|
import ext2 = require('externalModuleAssignToVar_core_require2');
|
|
>ext2 : Symbol(ext2, Decl(externalModuleAssignToVar_core.ts, 3, 9))
|
|
|
|
var y2: new() => ext2 = ext2;
|
|
>y2 : Symbol(y2, Decl(externalModuleAssignToVar_core.ts, 6, 3))
|
|
>ext2 : Symbol(ext2, Decl(externalModuleAssignToVar_core.ts, 3, 9))
|
|
>ext2 : Symbol(ext2, Decl(externalModuleAssignToVar_core.ts, 3, 9))
|
|
|
|
y2 = ext2; // ok
|
|
>y2 : Symbol(y2, Decl(externalModuleAssignToVar_core.ts, 6, 3))
|
|
>ext2 : Symbol(ext2, Decl(externalModuleAssignToVar_core.ts, 3, 9))
|
|
|
|
import ext3 = require('externalModuleAssignToVar_ext');
|
|
>ext3 : Symbol(ext3, Decl(externalModuleAssignToVar_core.ts, 7, 10))
|
|
|
|
var y3: new () => ext3 = ext3;
|
|
>y3 : Symbol(y3, Decl(externalModuleAssignToVar_core.ts, 10, 3))
|
|
>ext3 : Symbol(ext3, Decl(externalModuleAssignToVar_core.ts, 7, 10))
|
|
>ext3 : Symbol(ext3, Decl(externalModuleAssignToVar_core.ts, 7, 10))
|
|
|
|
y3 = ext3; // ok
|
|
>y3 : Symbol(y3, Decl(externalModuleAssignToVar_core.ts, 10, 3))
|
|
>ext3 : Symbol(ext3, Decl(externalModuleAssignToVar_core.ts, 7, 10))
|
|
|
|
=== tests/cases/compiler/externalModuleAssignToVar_ext.ts ===
|
|
class D { foo: string; }
|
|
>D : Symbol(D, Decl(externalModuleAssignToVar_ext.ts, 0, 0))
|
|
>foo : Symbol(foo, Decl(externalModuleAssignToVar_ext.ts, 0, 9))
|
|
|
|
export = D;
|
|
>D : Symbol(D, Decl(externalModuleAssignToVar_ext.ts, 0, 0))
|
|
|
|
=== tests/cases/compiler/externalModuleAssignToVar_core_require.ts ===
|
|
export class C { bar: string; }
|
|
>C : Symbol(C, Decl(externalModuleAssignToVar_core_require.ts, 0, 0))
|
|
>bar : Symbol(bar, Decl(externalModuleAssignToVar_core_require.ts, 0, 16))
|
|
|
|
=== tests/cases/compiler/externalModuleAssignToVar_core_require2.ts ===
|
|
class C { baz: string; }
|
|
>C : Symbol(C, Decl(externalModuleAssignToVar_core_require2.ts, 0, 0))
|
|
>baz : Symbol(baz, Decl(externalModuleAssignToVar_core_require2.ts, 0, 9))
|
|
|
|
export = C;
|
|
>C : Symbol(C, Decl(externalModuleAssignToVar_core_require2.ts, 0, 0))
|
|
|