Remove assert hit by chrome devtools+update baselines

Just return undefined instead. Gets rid of many errors in chrome
devtools
This commit is contained in:
Nathan Shively-Sanders 2018-02-20 08:48:04 -08:00
parent 54a89ac026
commit 518f651656
2 changed files with 2047 additions and 10676 deletions

View File

@ -2451,7 +2451,10 @@ namespace ts {
}
else {
const s = getJSInitializerSymbol(forEachIdentifierInEntityName(e.expression, action));
Debug.assert(!!s && !!s.exports);
if (!s || !s.exports) {
// Not a valid nested special assignment
return undefined;
}
return action(e.name, s.exports.get(e.name.escapedText));
}
}

File diff suppressed because it is too large Load Diff