mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-21 08:25:43 -05:00
Invalid input, this in static property intializer. output is worng in both cases.
This commit is contained in:
@@ -9,10 +9,10 @@ class Vector {
|
||||
}
|
||||
|
||||
//// [thisInArrowFunctionInStaticInitializer1.js]
|
||||
var _this = this;
|
||||
function log(a) { }
|
||||
var Vector = (function () {
|
||||
function Vector() {
|
||||
var _this = this;
|
||||
}
|
||||
return Vector;
|
||||
}());
|
||||
|
||||
Reference in New Issue
Block a user