8000 Updated Baselines · jango2015/TypeScript@84326e6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 84326e6

Browse files
author
Arthur Ozga
committed
Updated Baselines
1 parent 4627f9c commit 84326e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/baselines/reference/classAbstractClinterfaceAssignability.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractClinterfaceAssignability.ts(23,1): error TS2322: Type 'typeof A' is not assignable to type 'IConstructor'.
2-
Constructor objects of abstract type cannot be assigned to constructor objects of non-abstract type.
2+
Cannot assign an abstract constructor type to a non-abstract constructor type.
33

44

55
==== tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractClinterfaceAssignability.ts (1 errors) ====
@@ -28,4 +28,4 @@ tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbst
2828
AAA = A;
2929
~~~
3030
!!! error TS2322: Type 'typeof A' is not assignable to type 'IConstructor'.
31-
!!! error TS2322: Constructor objects of abstract type cannot be assigned to constructor objects of non-abstract type.
31+
!!! error TS2322: Cannot assign an abstract constructor type to a non-abstract constructor type.

tests/baselines/reference/classAbstractInstantiations2.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInstantiations2.ts(10,1): error TS2511: Cannot create an instance of the abstract class 'B'.
22
tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInstantiations2.ts(13,5): error TS2322: Type 'typeof B' is not assignable to type 'typeof A'.
3-
Constructor objects of abstract type cannot be assigned to constructor objects of non-abstract type.
3+
Cannot assign an abstract constructor type to a non-abstract constructor type.
44
tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInstantiations2.ts(17,5): error TS2511: Cannot create an instance of the abstract class 'B'.
55
tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInstantiations2.ts(21,1): error TS2511: Cannot create an instance of the abstract class 'B'.
66
tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInstantiations2.ts(26,7): error TS2515: Non-abstract class 'C' does not implement inherited abstract member 'bar' from class 'B'.
@@ -27,7 +27,7 @@ tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbst
2727
var AA: typeof A = BB; // error, AA is not of abstract type.
2828
~~
2929
!!! error TS2322: Type 'typeof B' is not assignable to type 'typeof A'.
30-
!!! error TS2322: Constructor objects of abstract type cannot be assigned to constructor objects of non-abstract type.
30+
!!! error TS2322: Cannot assign an abstract constructor type to a non-abstract constructor type.
3131
new AA;
3232

3333
function constructB(Factory : typeof B) {

0 commit comments

Comments
 (0)
0