@@ -64,7 +64,7 @@ class MockModule extends MockAst, TMockModule {
6464module MockModule {
6565 abstract class Range extends string {
6666 bindingset [ this ]
67- Range ( ) { this = this }
67+ Range ( ) { any ( ) }
6868
6969 /** Gets the name of this mocked module. */
7070 abstract string getName ( ) ;
@@ -96,7 +96,7 @@ class MockClass extends MockAst, TMockClass {
9696module MockClass {
9797 abstract class Range extends string {
9898 bindingset [ this ]
99- Range ( ) { this = this }
99+ Range ( ) { any ( ) }
100100
101101 /** Gets the name of this mocked class. */
102102 abstract string getName ( ) ;
@@ -135,7 +135,7 @@ class MockTypeExpr extends MockSignatureExpr, TMockTypeExpr {
135135module MockTypeExpr {
136136 abstract class Range extends string {
137137 bindingset [ this ]
138- Range ( ) { this = this }
138+ Range ( ) { any ( ) }
139139
140140 /** Gets the name of the type. */
141141 abstract string getClassName ( ) ;
@@ -164,7 +164,7 @@ class MockClasslessPredicate extends MockAst {
164164module MockClasslessPredicate {
165165 abstract class Range extends string {
166166 bindingset [ this ]
167- Range ( ) { this = this }
167+ Range ( ) { any ( ) }
168168
169169 /** Gets the name of the predicate. */
170170 abstract string getName ( ) ;
@@ -196,7 +196,7 @@ class MockVarDecl extends MockAst, TMockVarDecl {
196196module MockVarDecl {
197197 abstract class Range extends string {
198198 bindingset [ this ]
199- Range ( ) { this = this }
199+ Range ( ) { any ( ) }
200200
201201 /** Gets the name of the variable. */
202202 abstract string getName ( ) ;
0 commit comments