File: enumNumbering1.symbols

package info (click to toggle)
node-typescript 2.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 203,952 kB
  • ctags: 52,987
  • sloc: sh: 11; makefile: 5
file content (26 lines) | stat: -rw-r--r-- 863 bytes parent folder | download | duplicates (2)
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
=== tests/cases/compiler/enumNumbering1.ts ===
enum Test {
>Test : Symbol(Test, Decl(enumNumbering1.ts, 0, 0))

    A,
>A : Symbol(Test.A, Decl(enumNumbering1.ts, 0, 11))

    B,
>B : Symbol(Test.B, Decl(enumNumbering1.ts, 1, 6))

    C = Math.floor(Math.random() * 1000),
>C : Symbol(Test.C, Decl(enumNumbering1.ts, 2, 6))
>Math.floor : Symbol(Math.floor, Decl(lib.d.ts, --, --))
>Math : Symbol(Math, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
>floor : Symbol(Math.floor, Decl(lib.d.ts, --, --))
>Math.random : Symbol(Math.random, Decl(lib.d.ts, --, --))
>Math : Symbol(Math, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
>random : Symbol(Math.random, Decl(lib.d.ts, --, --))

    D = 10,
>D : Symbol(Test.D, Decl(enumNumbering1.ts, 3, 41))

    E // Error but shouldn't be
>E : Symbol(Test.E, Decl(enumNumbering1.ts, 4, 11))
}