mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Update expected output to match getAPrimaryQlClass change
This commit is contained in:
@@ -196,12 +196,12 @@ calls/calls.rb:
|
||||
# 124| getStmt: [ClassDeclaration] MyClass2
|
||||
# 124| getSuperclassExpr: [MethodCall] call to foo
|
||||
# 124| getReceiver: [ConstantReadAccess] X
|
||||
# 128| getStmt: [ClassDeclaration] class << ...
|
||||
# 128| getStmt: [SingletonClass] class << ...
|
||||
# 128| getValue: [MethodCall] call to foo
|
||||
# 128| getReceiver: [Self] self
|
||||
# 129| getStmt: [MethodCall] call to bar
|
||||
# 129| getReceiver: [Self] self
|
||||
# 131| getStmt: [ClassDeclaration] class << ...
|
||||
# 131| getStmt: [SingletonClass] class << ...
|
||||
# 131| getValue: [MethodCall] call to foo
|
||||
# 131| getReceiver: [ConstantReadAccess] X
|
||||
# 132| getStmt: [MethodCall] call to bar
|
||||
@@ -691,7 +691,7 @@ modules/classes.rb:
|
||||
# 40| getAnOperand/getLeftOperand: [LocalVariableAccess] x
|
||||
# 40| getAnOperand/getRightOperand: [StringLiteral] "hello"
|
||||
# 40| getComponent: [StringTextComponent] hello
|
||||
# 41| getStmt: [ClassDeclaration] class << ...
|
||||
# 41| getStmt: [SingletonClass] class << ...
|
||||
# 41| getValue: [LocalVariableAccess] x
|
||||
# 42| getStmt: [Method] length
|
||||
# 43| getStmt: [MulExpr] ... * ...
|
||||
|
||||
@@ -8,7 +8,7 @@ moduleBases
|
||||
| classes.rb:20:1:37:3 | Wibble | ClassDeclaration |
|
||||
| classes.rb:32:3:33:5 | ClassInWibble | ClassDeclaration |
|
||||
| classes.rb:35:3:36:5 | ModuleInWibble | ModuleDeclaration |
|
||||
| classes.rb:41:1:52:3 | class << ... | ClassDeclaration |
|
||||
| classes.rb:41:1:52:3 | class << ... | SingletonClass |
|
||||
| classes.rb:55:1:56:3 | MyClassInGlobalScope | ClassDeclaration |
|
||||
| modules.rb:1:1:2:3 | Empty | ModuleDeclaration |
|
||||
| modules.rb:1:1:122:1 | modules.rb | Toplevel |
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
singletonClasses
|
||||
| classes.rb:41:1:52:3 | class << ... | ClassDeclaration | classes.rb:41:10:41:10 | x |
|
||||
| classes.rb:41:1:52:3 | class << ... | SingletonClass | classes.rb:41:10:41:10 | x |
|
||||
exprsInSingletonClasses
|
||||
| classes.rb:41:1:52:3 | class << ... | 0 | classes.rb:42:3:44:5 | length | Method |
|
||||
| classes.rb:41:1:52:3 | class << ... | 1 | classes.rb:46:3:48:5 | wibble | Method |
|
||||
|
||||
Reference in New Issue
Block a user