We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 948d21c commit 84820adCopy full SHA for 84820ad
1 file changed
javascript/ql/test/library-tests/TripleDot/exceptions.js
@@ -66,3 +66,16 @@ function e4() {
66
sink(e);
67
}
68
69
+
70
+async function e5() {
71
+ try {
72
+ Promise.resolve(0).finally(() => {
73
+ throw source("e5.1");
74
+ });
75
+ await Promise.resolve(0).finally(() => {
76
+ throw source("e5.2");
77
78
+ } catch (e) {
79
+ sink(e); // $ hasValueFlow=e5.2
80
+ }
81
+}
0 commit comments