Update test

This commit is contained in:
Anders Hejlsberg 2017-02-22 19:25:19 -08:00
parent c2d8a593b9
commit ec292c92e2
3 changed files with 0 additions and 4 deletions

View File

@ -21,7 +21,6 @@ tests/cases/conformance/types/thisType/thisTypeInAccessorsNegative.ts(11,9): err
}
const contextual: Foo = {
n: 16,
// there is no contextual this type from an Foo.x.
get x() { return this.n; }
}

View File

@ -13,7 +13,6 @@ const mismatch = {
}
const contextual: Foo = {
n: 16,
// there is no contextual this type from an Foo.x.
get x() { return this.n; }
}
@ -26,6 +25,5 @@ var mismatch = {
};
var contextual = {
n: 16,
// there is no contextual this type from an Foo.x.
get x() { return this.n; }
};

View File

@ -15,6 +15,5 @@ const mismatch = {
}
const contextual: Foo = {
n: 16,
// there is no contextual this type from an Foo.x.
get x() { return this.n; }
}