mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Component commits:
6a6f4a666e Fix crash in assigning function with this ref to alias
This commit is contained in:
committed by
Nathan Shively-Sanders
parent
4b09fd707b
commit
ea71ecfe22
@@ -11,5 +11,7 @@ module.exports = Alias;
|
||||
// @filename: main.js
|
||||
import A from './mod1'
|
||||
A.prototype.foo = 0
|
||||
A.prototype.func = function() { this._func = 0; }
|
||||
new A().bar
|
||||
new A().foo
|
||||
new A().func()
|
||||
|
||||
Reference in New Issue
Block a user