Skip to content

Commit 34bd298

Browse files
Merge pull request #2119 from Microsoft/fixFailingTest
Fix failing test.
2 parents 5141f1d + a3ad3c0 commit 34bd298

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/baselines/reference/complicatedPrivacy.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tests/cases/compiler/complicatedPrivacy.ts(11,24): error TS1054: A 'get' accessor cannot have parameters.
2-
tests/cases/compiler/complicatedPrivacy.ts(35,5): error TS1170: Computed property names are not allowed in type literals.
2+
tests/cases/compiler/complicatedPrivacy.ts(35,5): error TS1170: A computed property name in a type literal must directly refer to a built-in symbol.
33
tests/cases/compiler/complicatedPrivacy.ts(35,6): error TS2304: Cannot find name 'number'.
44
tests/cases/compiler/complicatedPrivacy.ts(73,49): error TS2305: Module 'mglo5' has no exported member 'i6'.
55

@@ -43,7 +43,7 @@ tests/cases/compiler/complicatedPrivacy.ts(73,49): error TS2305: Module 'mglo5'
4343
{
4444
[number]: C1; // Used to be indexer, now it is a computed property
4545
~~~~~~~~
46-
!!! error TS1170: Computed property names are not allowed in type literals.
46+
!!! error TS1170: A computed property name in a type literal must directly refer to a built-in symbol.
4747
~~~~~~
4848
!!! error TS2304: Cannot find name 'number'.
4949
}) {

0 commit comments

Comments
 (0)