Fix an exception caused by objects literals in supertype list not considered local
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user