File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
python/ql/test/3/library-tests/PointsTo/typehints Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 19
19
| test.py:10:6:10:18 | test.py:10 | ControlFlowNode for Subscript | import | file://:0:0:0:0 | _Optional()[builtin-class int] |
20
20
| test.py:10:15:10:17 | test.py:10 | ControlFlowNode for int | import | file://:0:0:0:0 | builtin-class int |
21
21
| test.py:10:20:10:22 | test.py:10 | ControlFlowNode for int | import | file://:0:0:0:0 | builtin-class int |
22
+ | test.py:12:1:12:12 | test.py:12 | ControlFlowNode for ClassExpr | import | test.py:12:1:12:12 | class baz |
23
+ | test.py:14:7:14:10 | test.py:14 | ControlFlowNode for True | import | file://:0:0:0:0 | bool True |
24
+ | test.py:15:11:15:13 | test.py:15 | ControlFlowNode for baz | import | file://:0:0:0:0 | class baz[class baz] |
25
+ | test.py:15:11:15:13 | test.py:15 | ControlFlowNode for baz | import | test.py:12:1:12:12 | class baz |
26
+ | test.py:15:11:15:18 | test.py:15 | ControlFlowNode for Subscript | import | file://:0:0:0:0 | class baz[class baz] |
27
+ | test.py:15:15:15:17 | test.py:15 | ControlFlowNode for baz | import | file://:0:0:0:0 | class baz[class baz] |
28
+ | test.py:15:15:15:17 | test.py:15 | ControlFlowNode for baz | import | test.py:12:1:12:12 | class baz |
Original file line number Diff line number Diff line change @@ -8,3 +8,8 @@ def bar(s:set)->Set:
8
8
9
9
t1 = Optional [Optional [int ]]
10
10
t2 = Optional [int ][int ]
11
+
12
+ class baz ():
13
+ pass
14
+ while True :
15
+ baz = baz [baz ]
You can’t perform that action at this time.
0 commit comments