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

2.7 KiB

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