Update to UAST 0.12

This commit is contained in:
Dmitry Jemerov
2017-03-08 19:23:55 +01:00
parent 3bf7223448
commit 8c3936a0ee
61 changed files with 180 additions and 370 deletions
@@ -102,7 +102,7 @@ class ResourceFoldingBuilder : FoldingBuilderEx() {
val element = getOutermostQualified() ?: this
(element.containingElement as? UCallExpression)?.run {
(element.uastParent as? UCallExpression)?.run {
if (isFoldableGetResourceValueCall()) {
return getOutermostQualified()?.createFoldingDescriptor() ?: createFoldingDescriptor()
}