Update to UAST 0.12
This commit is contained in:
+1
-1
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user