@@ -64,7 +64,7 @@ class MockModule extends MockAst, TMockModule {
64
64
module MockModule {
65
65
abstract class Range extends string {
66
66
bindingset [ this ]
67
- Range ( ) { this = this }
67
+ Range ( ) { any ( ) }
68
68
69
69
/** Gets the name of this mocked module. */
70
70
abstract string getName ( ) ;
@@ -96,7 +96,7 @@ class MockClass extends MockAst, TMockClass {
96
96
module MockClass {
97
97
abstract class Range extends string {
98
98
bindingset [ this ]
99
- Range ( ) { this = this }
99
+ Range ( ) { any ( ) }
100
100
101
101
/** Gets the name of this mocked class. */
102
102
abstract string getName ( ) ;
@@ -135,7 +135,7 @@ class MockTypeExpr extends MockSignatureExpr, TMockTypeExpr {
135
135
module MockTypeExpr {
136
136
abstract class Range extends string {
137
137
bindingset [ this ]
138
- Range ( ) { this = this }
138
+ Range ( ) { any ( ) }
139
139
140
140
/** Gets the name of the type. */
141
141
abstract string getClassName ( ) ;
@@ -164,7 +164,7 @@ class MockClasslessPredicate extends MockAst {
164
164
module MockClasslessPredicate {
165
165
abstract class Range extends string {
166
166
bindingset [ this ]
167
- Range ( ) { this = this }
167
+ Range ( ) { any ( ) }
168
168
169
169
/** Gets the name of the predicate. */
170
170
abstract string getName ( ) ;
@@ -196,7 +196,7 @@ class MockVarDecl extends MockAst, TMockVarDecl {
196
196
module MockVarDecl {
197
197
abstract class Range extends string {
198
198
bindingset [ this ]
199
- Range ( ) { this = this }
199
+ Range ( ) { any ( ) }
200
200
201
201
/** Gets the name of the variable. */
202
202
abstract string getName ( ) ;
0 commit comments