Update expected output to match getAPrimaryQlClass change

This commit is contained in:
Nick Rolfe
2021-10-13 10:59:26 +01:00
committed by Arthur Baars
parent e1675ff055
commit 1c5dcecf1e
3 changed files with 5 additions and 5 deletions

View File

@@ -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] ... * ...

View File

@@ -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 |

View File

@@ -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 |