Files
kotlin-fork/idea/testData/findUsages/kotlin/conventions/inc.log
T
Nikolay Krasko 44d3b8fb1a Ignore sub-queries for other operators with the same receiver (KT-18566)
ExpressionsOfTypeProcessor searches for all occurence of expression
with given type. It start from usages of the class, searches for sub-classes,
declarations that return those classes, usages of these declarations,
and so on.

During this search, find usages for all operators that return the
subject type is executed as sub-queries. Full search for such queries
can't give addition types. And it also shouldn't give additional scopes
for search, because same scopes should be located by operands. In other
words, if sub-query can spot the scope of usage starting from the same
type, the original query should also process same scope.

 #KT-18566 Fixed
2017-06-20 16:53:05 +03:00

10 lines
302 B
Plaintext
Vendored

Checked type of a
ExpressionOfTypeProcessor is already started for A. Exit for operator A.inc().
Resolved ++a
Resolved a++
Searched references to A
Searched references to A.inc() in non-Java files
Searched references to a in non-Java files
Used plain search of A.inc() in LocalSearchScope:
CLASS:A