зеркало из https://github.com/github/codeql.git
add test for await using in TypeScript
This commit is contained in:
Родитель
1e3387f2c5
Коммит
78487d437f
|
@ -1,8 +1,3 @@
|
|||
consts
|
||||
| tst.tsx:2:3:2:26 | const { ... } = o; |
|
||||
| tst.tsx:9:5:9:26 | const b ... efined; |
|
||||
usings
|
||||
| tst.tsx:7:5:7:28 | using f ... as any; |
|
||||
#select
|
||||
| tst.tsx:1:10:1:10 | f |
|
||||
| tst.tsx:1:12:1:12 | o |
|
||||
|
@ -10,3 +5,11 @@ usings
|
|||
| tst.tsx:6:10:6:10 | v |
|
||||
| tst.tsx:7:11:7:13 | foo |
|
||||
| tst.tsx:9:11:9:13 | bar |
|
||||
| tst.tsx:12:16:12:16 | b |
|
||||
| tst.tsx:13:17:13:19 | foo |
|
||||
consts
|
||||
| tst.tsx:2:3:2:26 | const { ... } = o; |
|
||||
| tst.tsx:9:5:9:26 | const b ... efined; |
|
||||
usings
|
||||
| tst.tsx:7:5:7:28 | using f ... as any; |
|
||||
| tst.tsx:13:5:13:34 | await u ... as any; |
|
||||
|
|
|
@ -7,4 +7,8 @@ function v() {
|
|||
using foo = null as any;
|
||||
|
||||
const bar = undefined;
|
||||
}
|
||||
|
||||
async function b() {
|
||||
await using foo = null as any;
|
||||
}
|
Загрузка…
Ссылка в новой задаче