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

22 lines
922 B
Diff

--- old.duplicateIdentifierDifferentSpelling.errors.txt
+++ new.duplicateIdentifierDifferentSpelling.errors.txt
@@= skipped -0, +0 lines =@@
-duplicateIdentifierDifferentSpelling.ts(3,3): error TS2300: Duplicate identifier '3'.
+duplicateIdentifierDifferentSpelling.ts(2,3): error TS2300: Duplicate identifier '0b11'.
+duplicateIdentifierDifferentSpelling.ts(3,3): error TS2300: Duplicate identifier '0b11'.
duplicateIdentifierDifferentSpelling.ts(6,21): error TS1117: An object literal cannot have multiple properties with the same name.
-==== duplicateIdentifierDifferentSpelling.ts (2 errors) ====
+==== duplicateIdentifierDifferentSpelling.ts (3 errors) ====
class A {
0b11 = '';
+ ~~~~
+!!! error TS2300: Duplicate identifier '0b11'.
3 = '';
~
-!!! error TS2300: Duplicate identifier '3'.
+!!! error TS2300: Duplicate identifier '0b11'.
}
var X = { 0b11: '', 3: '' };