File: importAndVariableDeclarationConflict2.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 (23 lines) | stat: -rw-r--r-- 758 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
=== tests/cases/compiler/importAndVariableDeclarationConflict2.ts ===
module m {
>m : Symbol(m, Decl(importAndVariableDeclarationConflict2.ts, 0, 0))

  export var m = '';
>m : Symbol(m, Decl(importAndVariableDeclarationConflict2.ts, 1, 12))
}

import x = m.m;
>x : Symbol(x, Decl(importAndVariableDeclarationConflict2.ts, 2, 1))
>m : Symbol(m, Decl(importAndVariableDeclarationConflict2.ts, 0, 0))
>m : Symbol(x, Decl(importAndVariableDeclarationConflict2.ts, 1, 12))

class C {
>C : Symbol(C, Decl(importAndVariableDeclarationConflict2.ts, 4, 15))

  public foo() {
>foo : Symbol(C.foo, Decl(importAndVariableDeclarationConflict2.ts, 6, 9))

    var x = '';
>x : Symbol(x, Decl(importAndVariableDeclarationConflict2.ts, 8, 7))
  }
}