Update baselines

This commit is contained in:
Nathan Shively-Sanders 2017-05-04 16:13:32 -07:00
parent 0f74294da2
commit 1bdea3910f
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
tests/cases/compiler/a.js(14,5): error TS2424: Class 'A' defines instance member function 'foo', but extended class 'B' defines it as instance member property.
tests/cases/compiler/a.js(14,10): error TS2424: Class 'A' defines instance member function 'foo', but extended class 'B' defines it as instance member property.
==== tests/cases/compiler/a.js (1 errors) ====
@ -16,7 +16,7 @@ tests/cases/compiler/a.js(14,5): error TS2424: Class 'A' defines instance member
constructor() {
super();
this.foo = () => 3;
~~~~~~~~~~~~~~~~~~
~~~
!!! error TS2424: Class 'A' defines instance member function 'foo', but extended class 'B' defines it as instance member property.
}
}

View File

@ -1,13 +1,13 @@
///<reference path="fourslash.ts" />
// In an inferred class, we can to-to-def successfully
// In an inferred class, we can go-to-def successfully
// @allowNonTsExtensions: true
// @Filename: Foo.js
//// class Foo {
//// constructor() {
//// /*dst1*/this.alpha = 10;
//// /*dst2*/this.beta = 'gamma';
//// this./*dst1*/alpha = 10;
//// this./*dst2*/beta = 'gamma';
//// }
//// method() { return this.alpha; }
//// }