* Fix duplicate errors in js special assignments * Simplify checkExpressionCached call to checkExpression * Accept baselines after merge * Use Map for deferredNodes and improve NoDeferredCheck comment I added an assert when a duplicate was added, but it caused 18 failures in our test suite. * Remove NoDeferredCheck
15 lines
238 B
TypeScript
15 lines
238 B
TypeScript
// @noEmit: true
|
|
// @checkJs: true
|
|
// @allowJs: true
|
|
// @Filename: bug24252.js
|
|
var A = {};
|
|
A.B = class {
|
|
m() {
|
|
/** @type {string[]} */
|
|
var x = [];
|
|
/** @type {number[]} */
|
|
var y;
|
|
y = x;
|
|
}
|
|
};
|