Updated Baselines
This commit is contained in:
parent
4627f9c69b
commit
84326e6ef6
|
@ -1,5 +1,5 @@
|
|||
tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractClinterfaceAssignability.ts(23,1): error TS2322: Type 'typeof A' is not assignable to type 'IConstructor'.
|
||||
Constructor objects of abstract type cannot be assigned to constructor objects of non-abstract type.
|
||||
Cannot assign an abstract constructor type to a non-abstract constructor type.
|
||||
|
||||
|
||||
==== tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractClinterfaceAssignability.ts (1 errors) ====
|
||||
|
@ -28,4 +28,4 @@ tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbst
|
|||
AAA = A;
|
||||
~~~
|
||||
!!! error TS2322: Type 'typeof A' is not assignable to type 'IConstructor'.
|
||||
!!! error TS2322: Constructor objects of abstract type cannot be assigned to constructor objects of non-abstract type.
|
||||
!!! error TS2322: Cannot assign an abstract constructor type to a non-abstract constructor type.
|
|
@ -1,6 +1,6 @@
|
|||
tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInstantiations2.ts(10,1): error TS2511: Cannot create an instance of the abstract class 'B'.
|
||||
tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInstantiations2.ts(13,5): error TS2322: Type 'typeof B' is not assignable to type 'typeof A'.
|
||||
Constructor objects of abstract type cannot be assigned to constructor objects of non-abstract type.
|
||||
Cannot assign an abstract constructor type to a non-abstract constructor type.
|
||||
tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInstantiations2.ts(17,5): error TS2511: Cannot create an instance of the abstract class 'B'.
|
||||
tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInstantiations2.ts(21,1): error TS2511: Cannot create an instance of the abstract class 'B'.
|
||||
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
|
|||
var AA: typeof A = BB; // error, AA is not of abstract type.
|
||||
~~
|
||||
!!! error TS2322: Type 'typeof B' is not assignable to type 'typeof A'.
|
||||
!!! error TS2322: Constructor objects of abstract type cannot be assigned to constructor objects of non-abstract type.
|
||||
!!! error TS2322: Cannot assign an abstract constructor type to a non-abstract constructor type.
|
||||
new AA;
|
||||
|
||||
function constructB(Factory : typeof B) {
|
||||
|
|
Loading…
Reference in a new issue