Fix an exception caused by objects literals in supertype list not considered local

This commit is contained in:
Pavel V. Talanov
2015-12-22 15:52:17 +03:00
parent 00db7d150b
commit 6a1ca7b9c9
4 changed files with 26 additions and 0 deletions
@@ -817,6 +817,9 @@ public class KtPsiUtil {
if (current instanceof KtBlockExpression || current instanceof KtParameter) {
return (KtElement) current;
}
if (current instanceof KtValueArgument) {
return (KtElement) current;
}
current = parent;
}