Accepting new baselines

This commit is contained in:
Anders Hejlsberg
2016-01-19 09:45:57 -08:00
parent dc8ab95db5
commit 4abf717cef

View File

@@ -1,11 +1,11 @@
tests/cases/compiler/interfaceImplementation5.ts(5,7): error TS2420: Class 'C1' incorrectly implements interface 'I1'.
Property 'getset1' is read-only in type 'C1' but read-write in type 'I1'.
Property 'getset1' is read-only in type 'C1' but writable in type 'I1'.
tests/cases/compiler/interfaceImplementation5.ts(6,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
tests/cases/compiler/interfaceImplementation5.ts(10,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
tests/cases/compiler/interfaceImplementation5.ts(14,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
tests/cases/compiler/interfaceImplementation5.ts(15,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
tests/cases/compiler/interfaceImplementation5.ts(18,7): error TS2420: Class 'C4' incorrectly implements interface 'I1'.
Property 'getset1' is read-only in type 'C4' but read-write in type 'I1'.
Property 'getset1' is read-only in type 'C4' but writable in type 'I1'.
tests/cases/compiler/interfaceImplementation5.ts(19,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
tests/cases/compiler/interfaceImplementation5.ts(23,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
tests/cases/compiler/interfaceImplementation5.ts(27,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
@@ -20,7 +20,7 @@ tests/cases/compiler/interfaceImplementation5.ts(28,16): error TS1056: Accessors
class C1 implements I1 {
~~
!!! error TS2420: Class 'C1' incorrectly implements interface 'I1'.
!!! error TS2420: Property 'getset1' is read-only in type 'C1' but read-write in type 'I1'.
!!! error TS2420: Property 'getset1' is read-only in type 'C1' but writable in type 'I1'.
public get getset1(){return 1;}
~~~~~~~
!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
@@ -44,7 +44,7 @@ tests/cases/compiler/interfaceImplementation5.ts(28,16): error TS1056: Accessors
class C4 implements I1 {
~~
!!! error TS2420: Class 'C4' incorrectly implements interface 'I1'.
!!! error TS2420: Property 'getset1' is read-only in type 'C4' but read-write in type 'I1'.
!!! error TS2420: Property 'getset1' is read-only in type 'C4' but writable in type 'I1'.
public get getset1(){var x:any; return x;}
~~~~~~~
!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.