Commit 3055018
Cherry-pick PR microsoft#39950 into release-4.0 (microsoft#39951)
Component commits:
6e5d75b Use isUncalledFunctionReference for aliases too
Fixes bogus deprecated notices on imports of functions with deprecated
overloads, but with some non-deprecated overloads.
Fixes microsoft/vscode#104238
e2eb319 Just check all declarations, don't call isUncalledFunction
Co-authored-by: Nathan Shively-Sanders <nathansa@microsoft.com>1 parent 264d27e commit 3055018
File tree
3 files changed
+25
-3
lines changed- src/compiler
- tests/cases/fourslash
3 files changed
+25
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35323 | 35323 | | |
35324 | 35324 | | |
35325 | 35325 | | |
35326 | | - | |
35327 | | - | |
35328 | | - | |
| 35326 | + | |
35329 | 35327 | | |
35330 | 35328 | | |
35331 | 35329 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments