File: declaredClassMergedwithSelf.errors.txt

package info (click to toggle)
node-typescript 5.0.4%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 459,140 kB
  • sloc: javascript: 1,972,754; makefile: 6; sh: 1
file content (41 lines) | stat: -rw-r--r-- 1,910 bytes parent folder | download | duplicates (5)
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
tests/cases/conformance/classes/classDeclarations/file1.ts(1,15): error TS2300: Duplicate identifier 'C1'.
tests/cases/conformance/classes/classDeclarations/file1.ts(3,15): error TS2300: Duplicate identifier 'C1'.
tests/cases/conformance/classes/classDeclarations/file1.ts(5,15): error TS2300: Duplicate identifier 'C2'.
tests/cases/conformance/classes/classDeclarations/file1.ts(7,11): error TS2300: Duplicate identifier 'C2'.
tests/cases/conformance/classes/classDeclarations/file1.ts(9,15): error TS2300: Duplicate identifier 'C2'.
tests/cases/conformance/classes/classDeclarations/file2.ts(1,15): error TS2300: Duplicate identifier 'C3'.
tests/cases/conformance/classes/classDeclarations/file3.ts(1,15): error TS2300: Duplicate identifier 'C3'.


==== tests/cases/conformance/classes/classDeclarations/file1.ts (5 errors) ====
    declare class C1 {}
                  ~~
!!! error TS2300: Duplicate identifier 'C1'.
    
    declare class C1 {}
                  ~~
!!! error TS2300: Duplicate identifier 'C1'.
    
    declare class C2 {}
                  ~~
!!! error TS2300: Duplicate identifier 'C2'.
    
    interface C2 {}
              ~~
!!! error TS2300: Duplicate identifier 'C2'.
    
    declare class C2 {}
                  ~~
!!! error TS2300: Duplicate identifier 'C2'.
    
==== tests/cases/conformance/classes/classDeclarations/file2.ts (1 errors) ====
    declare class C3 { }
                  ~~
!!! error TS2300: Duplicate identifier 'C3'.
!!! related TS6203 tests/cases/conformance/classes/classDeclarations/file3.ts:1:15: 'C3' was also declared here.
    
==== tests/cases/conformance/classes/classDeclarations/file3.ts (1 errors) ====
    declare class C3 { }
                  ~~
!!! error TS2300: Duplicate identifier 'C3'.
!!! related TS6203 tests/cases/conformance/classes/classDeclarations/file2.ts:1:15: 'C3' was also declared here.