Files
tsgo/testdata/baselines/reference/submoduleAccepted/compiler/duplicateIdentifierRelatedSpans6.errors.txt.diff

2.8 KiB

--- old.duplicateIdentifierRelatedSpans6.errors.txt
+++ new.duplicateIdentifierRelatedSpans6.errors.txt
@@= skipped -2, +2 lines =@@
3 duplicate1: () => string;
~~~~~~~~~~
 
- file2.ts:5:9
+ file2.ts:5:9 - 'duplicate1' was also declared here.
5 duplicate1(): number;
~~~~~~~~~~
- 'duplicate1' was also declared here.
+
file1.ts:4:9 - error TS2300: Duplicate identifier 'duplicate2'.
 
4 duplicate2: () => string;
~~~~~~~~~~
 
- file2.ts:6:9
+ file2.ts:6:9 - 'duplicate2' was also declared here.
6 duplicate2(): number;
~~~~~~~~~~
- 'duplicate2' was also declared here.
+
file1.ts:5:9 - error TS2300: Duplicate identifier 'duplicate3'.
 
5 duplicate3: () => string;
~~~~~~~~~~
 
- file2.ts:7:9
+ file2.ts:7:9 - 'duplicate3' was also declared here.
7 duplicate3(): number;
~~~~~~~~~~
- 'duplicate3' was also declared here.
+
file2.ts:5:9 - error TS2300: Duplicate identifier 'duplicate1'.
 
5 duplicate1(): number;
~~~~~~~~~~
 
- file1.ts:3:9
+ file1.ts:3:9 - 'duplicate1' was also declared here.
3 duplicate1: () => string;
~~~~~~~~~~
- 'duplicate1' was also declared here.
+
file2.ts:6:9 - error TS2300: Duplicate identifier 'duplicate2'.
 
6 duplicate2(): number;
~~~~~~~~~~
 
- file1.ts:4:9
+ file1.ts:4:9 - 'duplicate2' was also declared here.
4 duplicate2: () => string;
~~~~~~~~~~
- 'duplicate2' was also declared here.
+
file2.ts:7:9 - error TS2300: Duplicate identifier 'duplicate3'.
 
7 duplicate3(): number;
~~~~~~~~~~
 
- file1.ts:5:9
+ file1.ts:5:9 - 'duplicate3' was also declared here.
5 duplicate3: () => string;
~~~~~~~~~~
- 'duplicate3' was also declared here.
 
 
==== file2.ts (3 errors) ====
@@= skipped -94, +93 lines =@@
Errors Files
3 file1.ts:3
3 file2.ts:5
+