Skip to content

Commit c20bcc4

Browse files
committed
fix indent
1 parent a8c44b8 commit c20bcc4

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

src/compiler/checker.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -43127,10 +43127,10 @@ namespace ts {
4312743127
}
4312843128
else {
4312943129
if ((currentKind & DeclarationMeaning.Method) && (existingKind & DeclarationMeaning.Method)) {
43130-
grammarErrorOnNode(name, Diagnostics.Duplicate_identifier_0, getTextOfNode(name));
43130+
grammarErrorOnNode(name, Diagnostics.Duplicate_identifier_0, getTextOfNode(name));
4313143131
}
4313243132
else if ((currentKind & DeclarationMeaning.PropertyAssignment) && (existingKind & DeclarationMeaning.PropertyAssignment)) {
43133-
grammarErrorOnNode(name, Diagnostics.An_object_literal_cannot_have_multiple_properties_with_the_same_name, getTextOfNode(name));
43133+
grammarErrorOnNode(name, Diagnostics.An_object_literal_cannot_have_multiple_properties_with_the_same_name, getTextOfNode(name));
4313443134
}
4313543135
else if ((currentKind & DeclarationMeaning.GetOrSetAccessor) && (existingKind & DeclarationMeaning.GetOrSetAccessor)) {
4313643136
if (existingKind !== DeclarationMeaning.GetOrSetAccessor && currentKind !== existingKind) {

tests/baselines/reference/noRepeatedPropertyNames.errors.txt

+1
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ tests/cases/compiler/noRepeatedPropertyNames.ts(5,32): error TS1117: An object l
1515
return second.a;
1616
}
1717
}
18+

tests/baselines/reference/noRepeatedPropertyNames.js

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ class C {
77
return second.a;
88
}
99
}
10-
1110

1211

1312
//// [noRepeatedPropertyNames.js]

tests/baselines/reference/noRepeatedPropertyNames.symbols

-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@ class C {
2323
}
2424
}
2525

26-

tests/baselines/reference/noRepeatedPropertyNames.types

+1
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ class C {
2828
>a : number
2929
}
3030
}
31+

0 commit comments

Comments
 (0)