* Add test case and temporarily disable inference (Inference of class members from this-assignments inside a prototype-assigned function.) * Update baselines * In blocks and source files, bind functions first * Add tests from other bugs * Remove temporary failsafe * Update tests to restore intent and clean up errors * Restore intent even better * Restore intent even better x2 * Add missed baselines
10 lines
163 B
TypeScript
10 lines
163 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @noEmit: true
|
|
// @filename: a.js
|
|
OOOrder.prototype.m = function () {
|
|
this.p = 1
|
|
}
|
|
function OOOrder() {
|
|
this.x = 1
|
|
}
|