File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1
- 9c1859b8e97242b0e697a3aaa39a4da5e6172e74
1
+ 2c74b84184941ebea318f69fe43a81f657790b63
2
2
3
3
The first line of this file holds the git revision number of the last
4
4
merge done from the gofrontend repository.
Original file line number Diff line number Diff line change @@ -10329,6 +10329,23 @@ Find_alias::type(Type* type)
10329
10329
return TRAVERSE_SKIP_COMPONENTS;
10330
10330
}
10331
10331
10332
+ // Check if there are recursive inherited interface aliases.
10333
+ Interface_type* ift = type->interface_type ();
10334
+ if (ift != NULL )
10335
+ {
10336
+ const Typed_identifier_list* methods = ift->local_methods ();
10337
+ if (methods == NULL )
10338
+ return TRAVERSE_CONTINUE;
10339
+ for (Typed_identifier_list::const_iterator p = methods->begin ();
10340
+ p != methods->end ();
10341
+ ++p)
10342
+ if (p->name ().empty () && p->type ()->named_type () == this ->find_type_ )
10343
+ {
10344
+ this ->found_ = true ;
10345
+ return TRAVERSE_EXIT;
10346
+ }
10347
+ }
10348
+
10332
10349
return TRAVERSE_CONTINUE;
10333
10350
}
10334
10351
You can’t perform that action at this time.
0 commit comments