Skip to content

Commit b0f8373

Browse files
committed
Update baselines for new weights
1 parent 085c66e commit b0f8373

9 files changed

+56
-56
lines changed

Diff for: tests/baselines/reference/ModuleWithExportedAndNonExportedFunctions.errors.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/conformance/internalModules/exportDeclarations/ModuleWithExportedAndNonExportedFunctions.ts(28,13): error TS2551: Property 'fn2' does not exist on type 'typeof A'. Did you mean 'fng'?
1+
tests/cases/conformance/internalModules/exportDeclarations/ModuleWithExportedAndNonExportedFunctions.ts(28,13): error TS2339: Property 'fn2' does not exist on type 'typeof A'.
22
tests/cases/conformance/internalModules/exportDeclarations/ModuleWithExportedAndNonExportedFunctions.ts(29,14): error TS2551: Property 'fng2' does not exist on type 'typeof A'. Did you mean 'fng'?
33

44

@@ -32,7 +32,7 @@ tests/cases/conformance/internalModules/exportDeclarations/ModuleWithExportedAnd
3232
// these should be errors since the functions are not exported
3333
var fn2 = A.fn2;
3434
~~~
35-
!!! error TS2551: Property 'fn2' does not exist on type 'typeof A'. Did you mean 'fng'?
35+
!!! error TS2339: Property 'fn2' does not exist on type 'typeof A'.
3636
var fng2 = A.fng2;
3737
~~~~
3838
!!! error TS2551: Property 'fng2' does not exist on type 'typeof A'. Did you mean 'fng'?

Diff for: tests/baselines/reference/autoLift2.errors.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
tests/cases/compiler/autoLift2.ts(5,14): error TS2339: Property 'foo' does not exist on type 'A'.
22
tests/cases/compiler/autoLift2.ts(5,17): error TS1005: ';' expected.
33
tests/cases/compiler/autoLift2.ts(5,19): error TS2693: 'any' only refers to a type, but is being used as a value here.
4-
tests/cases/compiler/autoLift2.ts(6,14): error TS2551: Property 'bar' does not exist on type 'A'. Did you mean 'baz'?
4+
tests/cases/compiler/autoLift2.ts(6,14): error TS2339: Property 'bar' does not exist on type 'A'.
55
tests/cases/compiler/autoLift2.ts(6,17): error TS1005: ';' expected.
66
tests/cases/compiler/autoLift2.ts(6,19): error TS2693: 'any' only refers to a type, but is being used as a value here.
77
tests/cases/compiler/autoLift2.ts(12,11): error TS2339: Property 'foo' does not exist on type 'A'.
8-
tests/cases/compiler/autoLift2.ts(14,11): error TS2551: Property 'bar' does not exist on type 'A'. Did you mean 'baz'?
8+
tests/cases/compiler/autoLift2.ts(14,11): error TS2339: Property 'bar' does not exist on type 'A'.
99
tests/cases/compiler/autoLift2.ts(16,33): error TS2339: Property 'foo' does not exist on type 'A'.
10-
tests/cases/compiler/autoLift2.ts(18,33): error TS2551: Property 'bar' does not exist on type 'A'. Did you mean 'baz'?
10+
tests/cases/compiler/autoLift2.ts(18,33): error TS2339: Property 'bar' does not exist on type 'A'.
1111

1212

1313
==== tests/cases/compiler/autoLift2.ts (10 errors) ====
@@ -24,7 +24,7 @@ tests/cases/compiler/autoLift2.ts(18,33): error TS2551: Property 'bar' does not
2424
!!! error TS2693: 'any' only refers to a type, but is being used as a value here.
2525
this.bar: any;
2626
~~~
27-
!!! error TS2551: Property 'bar' does not exist on type 'A'. Did you mean 'baz'?
27+
!!! error TS2339: Property 'bar' does not exist on type 'A'.
2828
~
2929
!!! error TS1005: ';' expected.
3030
~~~
@@ -40,15 +40,15 @@ tests/cases/compiler/autoLift2.ts(18,33): error TS2551: Property 'bar' does not
4040

4141
this.bar = "bar";
4242
~~~
43-
!!! error TS2551: Property 'bar' does not exist on type 'A'. Did you mean 'baz'?
43+
!!! error TS2339: Property 'bar' does not exist on type 'A'.
4444

4545
[1, 2].forEach((p) => this.foo);
4646
~~~
4747
!!! error TS2339: Property 'foo' does not exist on type 'A'.
4848

4949
[1, 2].forEach((p) => this.bar);
5050
~~~
51-
!!! error TS2551: Property 'bar' does not exist on type 'A'. Did you mean 'baz'?
51+
!!! error TS2339: Property 'bar' does not exist on type 'A'.
5252

5353
}
5454

Diff for: tests/baselines/reference/constructorWithIncompleteTypeAnnotation.errors.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(254,21): error T
6464
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(254,44): error TS2369: A parameter property is only allowed in a constructor implementation.
6565
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(254,69): error TS1110: Type expected.
6666
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(256,9): error TS1128: Declaration or statement expected.
67-
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(256,16): error TS2552: Cannot find name 'Overloads'. Did you mean 'Overloading'?
67+
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(256,16): error TS2304: Cannot find name 'Overloads'.
6868
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(256,26): error TS2304: Cannot find name 'value'.
6969
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(256,31): error TS1005: ',' expected.
7070
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(256,33): error TS2693: 'string' only refers to a type, but is being used as a value here.
7171
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(257,9): error TS1128: Declaration or statement expected.
72-
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(257,16): error TS2552: Cannot find name 'Overloads'. Did you mean 'Overloading'?
72+
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(257,16): error TS2304: Cannot find name 'Overloads'.
7373
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(257,27): error TS1135: Argument expression expected.
7474
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(257,33): error TS1005: '(' expected.
7575
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(257,35): error TS2693: 'string' only refers to a type, but is being used as a value here.
@@ -480,7 +480,7 @@ tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(261,1): error TS
480480
~~~~~~
481481
!!! error TS1128: Declaration or statement expected.
482482
~~~~~~~~~
483-
!!! error TS2552: Cannot find name 'Overloads'. Did you mean 'Overloading'?
483+
!!! error TS2304: Cannot find name 'Overloads'.
484484
~~~~~
485485
!!! error TS2304: Cannot find name 'value'.
486486
~
@@ -491,7 +491,7 @@ tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(261,1): error TS
491491
~~~~~~
492492
!!! error TS1128: Declaration or statement expected.
493493
~~~~~~~~~
494-
!!! error TS2552: Cannot find name 'Overloads'. Did you mean 'Overloading'?
494+
!!! error TS2304: Cannot find name 'Overloads'.
495495
~~~~~
496496
!!! error TS1135: Argument expression expected.
497497
~

Diff for: tests/baselines/reference/crashIntypeCheckInvocationExpression.errors.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tests/cases/compiler/crashIntypeCheckInvocationExpression.ts(6,28): error TS2304: Cannot find name 'task'.
2-
tests/cases/compiler/crashIntypeCheckInvocationExpression.ts(8,18): error TS2552: Cannot find name 'path'. Did you mean 'Math'?
2+
tests/cases/compiler/crashIntypeCheckInvocationExpression.ts(8,18): error TS2304: Cannot find name 'path'.
33
tests/cases/compiler/crashIntypeCheckInvocationExpression.ts(9,19): error TS2347: Untyped function calls may not accept type arguments.
44
tests/cases/compiler/crashIntypeCheckInvocationExpression.ts(10,50): error TS2304: Cannot find name 'moduleType'.
55

@@ -16,7 +16,7 @@ tests/cases/compiler/crashIntypeCheckInvocationExpression.ts(10,50): error TS230
1616

1717
var folder = path.join(),
1818
~~~~
19-
!!! error TS2552: Cannot find name 'path'. Did you mean 'Math'?
19+
!!! error TS2304: Cannot find name 'path'.
2020
fileset = nake.fileSetSync<number, number, any>(folder)
2121
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2222
!!! error TS2347: Untyped function calls may not accept type arguments.

Diff for: tests/baselines/reference/letDeclarations-scopes2.errors.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
tests/cases/compiler/letDeclarations-scopes2.ts(8,5): error TS2552: Cannot find name 'local2'. Did you mean 'local'?
22
tests/cases/compiler/letDeclarations-scopes2.ts(20,5): error TS2552: Cannot find name 'local2'. Did you mean 'local'?
3-
tests/cases/compiler/letDeclarations-scopes2.ts(23,1): error TS2552: Cannot find name 'local'. Did you mean 'global'?
3+
tests/cases/compiler/letDeclarations-scopes2.ts(23,1): error TS2304: Cannot find name 'local'.
44
tests/cases/compiler/letDeclarations-scopes2.ts(25,1): error TS2304: Cannot find name 'local2'.
55

66

@@ -33,7 +33,7 @@ tests/cases/compiler/letDeclarations-scopes2.ts(25,1): error TS2304: Cannot find
3333

3434
local; // Error
3535
~~~~~
36-
!!! error TS2552: Cannot find name 'local'. Did you mean 'global'?
36+
!!! error TS2304: Cannot find name 'local'.
3737
global; // OK
3838
local2; // Error
3939
~~~~~~

Diff for: tests/baselines/reference/parserRealSource7.errors.txt

+8-8
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(206,48): error T
7171
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(206,66): error TS2304: Cannot find name 'DualStringHashTable'.
7272
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(206,90): error TS2304: Cannot find name 'StringHashTable'.
7373
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(206,113): error TS2304: Cannot find name 'StringHashTable'.
74-
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(207,31): error TS2552: Cannot find name 'ModuleType'. Did you mean 'moduleDecl'?
74+
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(207,31): error TS2304: Cannot find name 'ModuleType'.
7575
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(209,42): error TS2304: Cannot find name 'TypeFlags'.
7676
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(211,39): error TS2304: Cannot find name 'ScopedMembers'.
7777
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(211,57): error TS2304: Cannot find name 'DualStringHashTable'.
@@ -100,7 +100,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(250,82): error T
100100
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(251,38): error TS2304: Cannot find name 'ScopedMembers'.
101101
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(251,56): error TS2304: Cannot find name 'DualStringHashTable'.
102102
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(251,107): error TS2304: Cannot find name 'StringHashTable'.
103-
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(253,27): error TS2552: Cannot find name 'ModuleType'. Did you mean 'moduleDecl'?
103+
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(253,27): error TS2304: Cannot find name 'ModuleType'.
104104
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(255,38): error TS2304: Cannot find name 'TypeFlags'.
105105
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(272,33): error TS2304: Cannot find name 'SymbolFlags'.
106106
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(276,33): error TS2304: Cannot find name 'SymbolFlags'.
@@ -196,7 +196,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(476,57): error T
196196
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(477,29): error TS2304: Cannot find name 'ValueLocation'.
197197
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(478,29): error TS2304: Cannot find name 'hasFlag'.
198198
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(478,55): error TS2304: Cannot find name 'VarFlags'.
199-
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(480,21): error TS2304: Cannot find name 'FieldSymbol'.
199+
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(480,21): error TS2552: Cannot find name 'FieldSymbol'. Did you mean 'fieldSymbol'?
200200
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(482,34): error TS2304: Cannot find name 'hasFlag'.
201201
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(482,60): error TS2304: Cannot find name 'VarFlags'.
202202
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(492,30): error TS2304: Cannot find name 'getTypeLink'.
@@ -218,7 +218,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(507,26): error T
218218
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(507,52): error TS2304: Cannot find name 'ASTFlags'.
219219
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(518,22): error TS2304: Cannot find name 'FieldSymbol'.
220220
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(531,29): error TS2304: Cannot find name 'ValueLocation'.
221-
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(533,21): error TS2304: Cannot find name 'FieldSymbol'.
221+
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(533,21): error TS2552: Cannot find name 'FieldSymbol'. Did you mean 'fieldSymbol'?
222222
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(535,53): error TS2304: Cannot find name 'VarFlags'.
223223
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(535,75): error TS2304: Cannot find name 'VarFlags'.
224224
tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(539,38): error TS2304: Cannot find name 'SymbolFlags'.
@@ -658,7 +658,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(828,13): error T
658658
!!! error TS2304: Cannot find name 'StringHashTable'.
659659
modType = new ModuleType(enclosedTypes, ambientEnclosedTypes);
660660
~~~~~~~~~~
661-
!!! error TS2552: Cannot find name 'ModuleType'. Did you mean 'moduleDecl'?
661+
!!! error TS2304: Cannot find name 'ModuleType'.
662662
if (isEnum) {
663663
modType.typeFlags |= TypeFlags.IsEnum;
664664
~~~~~~~~~
@@ -762,7 +762,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(828,13): error T
762762

763763
modType = new ModuleType(enclosedTypes, ambientEnclosedTypes);
764764
~~~~~~~~~~
765-
!!! error TS2552: Cannot find name 'ModuleType'. Did you mean 'moduleDecl'?
765+
!!! error TS2304: Cannot find name 'ModuleType'.
766766
if (isEnum) {
767767
modType.typeFlags |= TypeFlags.IsEnum;
768768
~~~~~~~~~
@@ -1181,7 +1181,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(828,13): error T
11811181
var fieldSymbol =
11821182
new FieldSymbol(argDecl.id.text, argDecl.minChar,
11831183
~~~~~~~~~~~
1184-
!!! error TS2304: Cannot find name 'FieldSymbol'.
1184+
!!! error TS2552: Cannot find name 'FieldSymbol'. Did you mean 'fieldSymbol'?
11851185
context.checker.locationInfo.unitIndex,
11861186
!hasFlag(argDecl.varFlags, VarFlags.Readonly),
11871187
~~~~~~~
@@ -1278,7 +1278,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(828,13): error T
12781278
var fieldSymbol =
12791279
new FieldSymbol(varDecl.id.text, varDecl.minChar,
12801280
~~~~~~~~~~~
1281-
!!! error TS2304: Cannot find name 'FieldSymbol'.
1281+
!!! error TS2552: Cannot find name 'FieldSymbol'. Did you mean 'fieldSymbol'?
12821282
context.checker.locationInfo.unitIndex,
12831283
(varDecl.varFlags & VarFlags.Readonly) == VarFlags.None,
12841284
~~~~~~~~

0 commit comments

Comments
 (0)