Skip to content

Commit 7b58be7

Browse files
author
Arthur Ozga
committed
update baselines
1 parent 5af5358 commit 7b58be7

File tree

230 files changed

+1055
-1055
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

230 files changed

+1055
-1055
lines changed

tests/baselines/reference/ClassAndModuleWithSameNameAndCommonRoot.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/conformance/internalModules/DeclarationMerging/module.ts(2,19): error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged
1+
tests/cases/conformance/internalModules/DeclarationMerging/module.ts(2,19): error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged.
22

33

44
==== tests/cases/conformance/internalModules/DeclarationMerging/class.ts (0 errors) ====
@@ -17,7 +17,7 @@ tests/cases/conformance/internalModules/DeclarationMerging/module.ts(2,19): erro
1717
module X.Y {
1818
export module Point {
1919
~~~~~
20-
!!! error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged
20+
!!! error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged.
2121
export var Origin = new Point(0, 0);
2222
}
2323
}

tests/baselines/reference/ClassAndModuleWithSameNameAndCommonRootES6.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/conformance/internalModules/DeclarationMerging/module.ts(2,19): error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged
1+
tests/cases/conformance/internalModules/DeclarationMerging/module.ts(2,19): error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged.
22

33

44
==== tests/cases/conformance/internalModules/DeclarationMerging/class.ts (0 errors) ====
@@ -17,7 +17,7 @@ tests/cases/conformance/internalModules/DeclarationMerging/module.ts(2,19): erro
1717
module X.Y {
1818
export module Point {
1919
~~~~~
20-
!!! error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged
20+
!!! error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged.
2121
export var Origin = new Point(0, 0);
2222
}
2323
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
tests/cases/compiler/ClassDeclaration24.ts(1,7): error TS2414: Class name cannot be 'any'
1+
tests/cases/compiler/ClassDeclaration24.ts(1,7): error TS2414: Class name cannot be 'any'.
22

33

44
==== tests/cases/compiler/ClassDeclaration24.ts (1 errors) ====
55
class any {
66
~~~
7-
!!! error TS2414: Class name cannot be 'any'
7+
!!! error TS2414: Class name cannot be 'any'.
88
}

tests/baselines/reference/ES5For-of20.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tests/cases/conformance/statements/for-ofStatements/ES5For-of20.ts(3,20): error TS2448: Block-scoped variable 'v' used before its declaration.
2-
tests/cases/conformance/statements/for-ofStatements/ES5For-of20.ts(4,15): error TS1155: 'const' declarations must be initialized
2+
tests/cases/conformance/statements/for-ofStatements/ES5For-of20.ts(4,15): error TS1155: 'const' declarations must be initialized.
33

44

55
==== tests/cases/conformance/statements/for-ofStatements/ES5For-of20.ts (2 errors) ====
@@ -10,6 +10,6 @@ tests/cases/conformance/statements/for-ofStatements/ES5For-of20.ts(4,15): error
1010
!!! error TS2448: Block-scoped variable 'v' used before its declaration.
1111
const v;
1212
~
13-
!!! error TS1155: 'const' declarations must be initialized
13+
!!! error TS1155: 'const' declarations must be initialized.
1414
}
1515
}

tests/baselines/reference/FunctionAndModuleWithSameNameAndCommonRoot.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/conformance/internalModules/DeclarationMerging/module.ts(2,19): error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged
1+
tests/cases/conformance/internalModules/DeclarationMerging/module.ts(2,19): error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged.
22
tests/cases/conformance/internalModules/DeclarationMerging/simple.ts(13,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'fn' must be of type '() => { x: number; y: number; }', but here has type 'typeof Point'.
33
tests/cases/conformance/internalModules/DeclarationMerging/test.ts(2,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'fn' must be of type '() => { x: number; y: number; }', but here has type 'typeof Point'.
44

@@ -14,7 +14,7 @@ tests/cases/conformance/internalModules/DeclarationMerging/test.ts(2,5): error T
1414
module A {
1515
export module Point {
1616
~~~~~
17-
!!! error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged
17+
!!! error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged.
1818
export var Origin = { x: 0, y: 0 };
1919
}
2020
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
tests/cases/compiler/InterfaceDeclaration8.ts(1,11): error TS2427: Interface name cannot be 'string'
1+
tests/cases/compiler/InterfaceDeclaration8.ts(1,11): error TS2427: Interface name cannot be 'string'.
22

33

44
==== tests/cases/compiler/InterfaceDeclaration8.ts (1 errors) ====
55
interface string {
66
~~~~~~
7-
!!! error TS2427: Interface name cannot be 'string'
7+
!!! error TS2427: Interface name cannot be 'string'.
88
}

tests/baselines/reference/ModuleAndClassWithSameNameAndCommonRoot.errors.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
tests/cases/conformance/internalModules/DeclarationMerging/module.ts(2,19): error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged
2-
tests/cases/conformance/internalModules/DeclarationMerging/simple.ts(1,8): error TS2434: A namespace declaration cannot be located prior to a class or function with which it is merged
1+
tests/cases/conformance/internalModules/DeclarationMerging/module.ts(2,19): error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged.
2+
tests/cases/conformance/internalModules/DeclarationMerging/simple.ts(1,8): error TS2434: A namespace declaration cannot be located prior to a class or function with which it is merged.
33

44

55
==== tests/cases/conformance/internalModules/DeclarationMerging/module.ts (1 errors) ====
66
module X.Y {
77
export module Point {
88
~~~~~
9-
!!! error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged
9+
!!! error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged.
1010
export var Origin = new Point(0, 0);
1111
}
1212
}
@@ -27,7 +27,7 @@ tests/cases/conformance/internalModules/DeclarationMerging/simple.ts(1,8): error
2727
==== tests/cases/conformance/internalModules/DeclarationMerging/simple.ts (1 errors) ====
2828
module A {
2929
~
30-
!!! error TS2434: A namespace declaration cannot be located prior to a class or function with which it is merged
30+
!!! error TS2434: A namespace declaration cannot be located prior to a class or function with which it is merged.
3131
export var Instance = new A();
3232
}
3333

tests/baselines/reference/ModuleAndFunctionWithSameNameAndCommonRoot.errors.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
tests/cases/conformance/internalModules/DeclarationMerging/module.ts(2,19): error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged
2-
tests/cases/conformance/internalModules/DeclarationMerging/simple.ts(3,19): error TS2434: A namespace declaration cannot be located prior to a class or function with which it is merged
1+
tests/cases/conformance/internalModules/DeclarationMerging/module.ts(2,19): error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged.
2+
tests/cases/conformance/internalModules/DeclarationMerging/simple.ts(3,19): error TS2434: A namespace declaration cannot be located prior to a class or function with which it is merged.
33

44

55
==== tests/cases/conformance/internalModules/DeclarationMerging/module.ts (1 errors) ====
66
module A {
77
export module Point {
88
~~~~~
9-
!!! error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged
9+
!!! error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged.
1010
export var Origin = { x: 0, y: 0 };
1111
}
1212
}
@@ -24,7 +24,7 @@ tests/cases/conformance/internalModules/DeclarationMerging/simple.ts(3,19): erro
2424

2525
export module Point {
2626
~~~~~
27-
!!! error TS2434: A namespace declaration cannot be located prior to a class or function with which it is merged
27+
!!! error TS2434: A namespace declaration cannot be located prior to a class or function with which it is merged.
2828
export var Origin = { x: 0, y: 0 };
2929
}
3030

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
tests/cases/conformance/es6/variableDeclarations/VariableDeclaration11_es6.ts(2,1): error TS1212: Identifier expected. 'let' is a reserved word in strict mode
1+
tests/cases/conformance/es6/variableDeclarations/VariableDeclaration11_es6.ts(2,1): error TS1212: Identifier expected. 'let' is a reserved word in strict mode.
22
tests/cases/conformance/es6/variableDeclarations/VariableDeclaration11_es6.ts(2,1): error TS2304: Cannot find name 'let'.
33

44

55
==== tests/cases/conformance/es6/variableDeclarations/VariableDeclaration11_es6.ts (2 errors) ====
66
"use strict";
77
let
88
~~~
9-
!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode
9+
!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode.
1010
~~~
1111
!!! error TS2304: Cannot find name 'let'.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
tests/cases/conformance/es6/variableDeclarations/VariableDeclaration2_es6.ts(1,7): error TS1155: 'const' declarations must be initialized
1+
tests/cases/conformance/es6/variableDeclarations/VariableDeclaration2_es6.ts(1,7): error TS1155: 'const' declarations must be initialized.
22

33

44
==== tests/cases/conformance/es6/variableDeclarations/VariableDeclaration2_es6.ts (1 errors) ====
55
const a
66
~
7-
!!! error TS1155: 'const' declarations must be initialized
7+
!!! error TS1155: 'const' declarations must be initialized.

0 commit comments

Comments
 (0)