Merge pull request #4986 from erik-krogh/logInf

Approved by esbena
This commit is contained in:
CodeQL CI
2021-01-21 06:02:50 -08:00
committed by GitHub
5 changed files with 25 additions and 9 deletions

View File

@@ -20,4 +20,10 @@ function g(b) {
return;
// OK: no types inferred for `z`, since this is dead code
z.y = true;
}
function h() {
let tmp;
let obj = (tmp ||= {});
obj.p = 42;
}