mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Don't crash on property access with type (#25170)
* Don't crash on property access with type * Move test
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// @allowJs: true
|
||||
// @checkJs: true
|
||||
// @noEmit: true
|
||||
|
||||
// @Filename: /a.js
|
||||
function C() { this.x = false; };
|
||||
/** @type {number} */
|
||||
C.prototype.x;
|
||||
new C().x;
|
||||
Reference in New Issue
Block a user