this@ClassName supported

This commit is contained in:
Valentin Kipyatkov
2016-08-25 23:17:57 +03:00
parent 7687c1646b
commit ca2cd3d656
3 changed files with 15 additions and 3 deletions
@@ -257,6 +257,12 @@ private class Processor(
return true
}
}
is KtContainerNode -> {
if (parent.node.elementType == KtNodeTypes.LABEL_QUALIFIER) {
return true // this@ClassName - it will be handled anyway because members and extensions are processed with plain search
}
}
}
if (element.getStrictParentOfType<KtImportDirective>() != null) return true // ignore usage in import