From bc4cf6d3c06a7dbb6d5bffa728de163788c3d83f Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Mon, 19 Sep 2016 18:30:15 +0300 Subject: [PATCH] Accepted baselines. --- .../reference/underscoreThisInDerivedClass02.errors.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/baselines/reference/underscoreThisInDerivedClass02.errors.txt b/tests/baselines/reference/underscoreThisInDerivedClass02.errors.txt index f7e0494c884..5569ebf1af6 100644 --- a/tests/baselines/reference/underscoreThisInDerivedClass02.errors.txt +++ b/tests/baselines/reference/underscoreThisInDerivedClass02.errors.txt @@ -1,7 +1,8 @@ tests/cases/compiler/underscoreThisInDerivedClass02.ts(14,5): error TS2377: Constructors for derived classes must contain a 'super' call. +tests/cases/compiler/underscoreThisInDerivedClass02.ts(15,13): error TS2399: Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference. -==== tests/cases/compiler/underscoreThisInDerivedClass02.ts (1 errors) ==== +==== tests/cases/compiler/underscoreThisInDerivedClass02.ts (2 errors) ==== // @target es5 // Original test intent: @@ -19,6 +20,8 @@ tests/cases/compiler/underscoreThisInDerivedClass02.ts(14,5): error TS2377: Cons ~~~~~~~~~~~~~~~ var _this = "uh-oh?"; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ~~~~~ +!!! error TS2399: Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference. } ~~~~~ !!! error TS2377: Constructors for derived classes must contain a 'super' call.