File tree Expand file tree Collapse file tree 1 file changed +22
-22
lines changed
ruby/ql/test/library-tests/controlflow/graph Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ break_ensure.rb:
41
41
#-----| -> do ...
42
42
43
43
# 3| ... > ...
44
- #-----| raise -> for ... in ...
45
44
#-----| true -> break
45
+ #-----| raise -> for ... in ...
46
46
#-----| false -> if ...
47
47
48
48
# 3| element
@@ -580,12 +580,12 @@ cfg.html.erb:
580
580
# 12| self
581
581
#-----| -> call to a
582
582
583
- # 12| Pair
584
- #-----| -> call to link_to
585
-
586
583
# 12| :id
587
584
#-----| -> "a"
588
585
586
+ # 12| Pair
587
+ #-----| -> call to link_to
588
+
589
589
# 12| "a"
590
590
#-----| -> Pair
591
591
@@ -813,12 +813,12 @@ cfg.rb:
813
813
# 23| 1
814
814
#-----| -> ... + ...
815
815
816
- # 25| 2
817
- #-----| -> { ... }
818
-
819
816
# 25| call to times
820
817
#-----| -> self
821
818
819
+ # 25| 2
820
+ #-----| -> { ... }
821
+
822
822
# 25| enter { ... }
823
823
#-----| -> x
824
824
@@ -1493,12 +1493,12 @@ cfg.rb:
1493
1493
# 97| "d"
1494
1494
#-----| -> Pair
1495
1495
1496
- # 97| Pair
1497
- #-----| -> {...}
1498
-
1499
1496
# 97| :e
1500
1497
#-----| -> "f"
1501
1498
1499
+ # 97| Pair
1500
+ #-----| -> {...}
1501
+
1502
1502
# 97| "f"
1503
1503
#-----| -> Pair
1504
1504
@@ -1619,12 +1619,12 @@ cfg.rb:
1619
1619
# 110| type
1620
1620
#-----| -> #{...}
1621
1621
1622
- # 113| ... if ...
1623
- #-----| -> C
1624
-
1625
1622
# 113| call to puts
1626
1623
#-----| -> ... if ...
1627
1624
1625
+ # 113| ... if ...
1626
+ #-----| -> C
1627
+
1628
1628
# 113| self
1629
1629
#-----| -> "hi"
1630
1630
@@ -1826,16 +1826,16 @@ cfg.rb:
1826
1826
# 134| EmptyModule
1827
1827
#-----| -> ... rescue ...
1828
1828
1829
- # 136| ... rescue ...
1830
- #-----| -> 1
1831
-
1832
1829
# 136| ... / ...
1833
1830
#-----| raise -> self
1834
1831
#-----| -> __synth__0
1835
1832
1836
1833
# 136| 1
1837
1834
#-----| -> 0
1838
1835
1836
+ # 136| ... rescue ...
1837
+ #-----| -> 1
1838
+
1839
1839
# 136| 0
1840
1840
#-----| -> ... / ...
1841
1841
@@ -2708,12 +2708,12 @@ desugar.rb:
2708
2708
# 18| __synth__2
2709
2709
#-----| -> __synth__3
2710
2710
2711
- # 18| ... + ...
2712
- #-----| -> ... = ...
2713
-
2714
2711
# 18| call to baz
2715
2712
#-----| -> 3
2716
2713
2714
+ # 18| ... + ...
2715
+ #-----| -> ... = ...
2716
+
2717
2717
# 18| x
2718
2718
#-----| -> call to baz
2719
2719
@@ -5076,12 +5076,12 @@ raise.rb:
5076
5076
# 155| elem
5077
5077
#-----| -> element
5078
5078
5079
- # 155| ... if ...
5080
- #-----| -> exit { ... } (normal)
5081
-
5082
5079
# 155| call to raise
5083
5080
#-----| raise -> exit { ... } (abnormal)
5084
5081
5082
+ # 155| ... if ...
5083
+ #-----| -> exit { ... } (normal)
5084
+
5085
5085
# 155| self
5086
5086
#-----| -> ""
5087
5087
You can’t perform that action at this time.
0 commit comments