File: exportAssignmentCircularModules.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (48 lines) | stat: -rw-r--r-- 1,386 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
=== tests/cases/conformance/externalModules/foo_2.ts ===
import foo0 = require("./foo_0");
>foo0 : Symbol(foo0, Decl(foo_2.ts, 0, 0))

module Foo {
>Foo : Symbol(Foo, Decl(foo_2.ts, 0, 33))

	export var x = foo0.x;
>x : Symbol(x, Decl(foo_2.ts, 2, 11))
>foo0.x : Symbol(foo0.x, Decl(foo_0.ts, 2, 11))
>foo0 : Symbol(foo0, Decl(foo_2.ts, 0, 0))
>x : Symbol(foo0.x, Decl(foo_0.ts, 2, 11))
}
export = Foo;
>Foo : Symbol(Foo, Decl(foo_2.ts, 0, 33))

=== tests/cases/conformance/externalModules/foo_0.ts ===
import foo1 = require('./foo_1');
>foo1 : Symbol(foo1, Decl(foo_0.ts, 0, 0))

module Foo {
>Foo : Symbol(Foo, Decl(foo_0.ts, 0, 33))

	export var x = foo1.x;
>x : Symbol(x, Decl(foo_0.ts, 2, 11))
>foo1.x : Symbol(foo1.x, Decl(foo_1.ts, 2, 11))
>foo1 : Symbol(foo1, Decl(foo_0.ts, 0, 0))
>x : Symbol(foo1.x, Decl(foo_1.ts, 2, 11))
}
export = Foo;
>Foo : Symbol(Foo, Decl(foo_0.ts, 0, 33))

=== tests/cases/conformance/externalModules/foo_1.ts ===
import foo2 = require("./foo_2");
>foo2 : Symbol(foo2, Decl(foo_1.ts, 0, 0))

module Foo {
>Foo : Symbol(Foo, Decl(foo_1.ts, 0, 33))

	export var x = foo2.x;
>x : Symbol(x, Decl(foo_1.ts, 2, 11))
>foo2.x : Symbol(foo2.x, Decl(foo_2.ts, 2, 11))
>foo2 : Symbol(foo2, Decl(foo_1.ts, 0, 0))
>x : Symbol(foo2.x, Decl(foo_2.ts, 2, 11))
}
export = Foo;
>Foo : Symbol(Foo, Decl(foo_1.ts, 0, 33))