Don't crash on property access with type (#25170)

* Don't crash on property access with type

* Move test
This commit is contained in:
Andy
2018-06-25 11:25:52 -07:00
committed by GitHub
parent b3a6428186
commit e8e80d2bbd
6 changed files with 62 additions and 9 deletions
@@ -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;