mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
Accepted baselines.
This commit is contained in:
parent
5b3a93db2f
commit
bc4cf6d3c0
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user