mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Ruby: add some calls to .each in call graph test
This commit is contained in:
@@ -202,6 +202,7 @@ getTarget
|
||||
| calls.rb:523:1:523:23 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:524:1:524:23 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| calls.rb:524:1:524:27 | call to baz | calls.rb:516:5:519:7 | baz |
|
||||
| calls.rb:526:2:526:6 | call to new | calls.rb:117:5:117:16 | new |
|
||||
| hello.rb:12:5:12:24 | call to include | calls.rb:108:5:110:7 | include |
|
||||
| hello.rb:14:16:14:20 | call to hello | hello.rb:2:5:4:7 | hello |
|
||||
| hello.rb:20:16:20:20 | call to super | hello.rb:13:5:15:7 | message |
|
||||
@@ -312,6 +313,12 @@ unresolvedCall
|
||||
| calls.rb:512:1:512:24 | call to bar |
|
||||
| calls.rb:522:1:522:27 | call to foo |
|
||||
| calls.rb:523:1:523:27 | call to bar |
|
||||
| calls.rb:526:1:526:7 | call to [] |
|
||||
| calls.rb:526:1:526:26 | call to each |
|
||||
| calls.rb:526:20:526:24 | call to baz |
|
||||
| calls.rb:527:1:527:13 | call to [] |
|
||||
| calls.rb:527:1:527:39 | call to each |
|
||||
| calls.rb:527:26:527:37 | call to capitalize |
|
||||
| hello.rb:20:16:20:26 | ... + ... |
|
||||
| hello.rb:20:16:20:34 | ... + ... |
|
||||
| hello.rb:20:16:20:40 | ... + ... |
|
||||
|
||||
@@ -522,3 +522,6 @@ end
|
||||
ProtectedMethodsSub.new.foo # NoMethodError
|
||||
ProtectedMethodsSub.new.bar # NoMethodError
|
||||
ProtectedMethodsSub.new.baz
|
||||
|
||||
[C.new].each { |c| c.baz }
|
||||
["a","b","c"].each { |s| s.capitalize }
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user