No line markers for anonymous or local class' methods
#KT-3270 fixed
This commit is contained in:
committed by
Evgeny Gerashchenko
parent
7362f69a62
commit
6bec3c9366
+4
-1
@@ -119,7 +119,10 @@ public class KotlinSignatureInJavaMarkerProvider implements LineMarkerProvider {
|
||||
}
|
||||
|
||||
String qualifiedName = containingClass.getQualifiedName();
|
||||
assert qualifiedName != null : "Trying to get line markers for anonymous or local class " + containingClass.getText();
|
||||
if (qualifiedName == null) {
|
||||
// Trying to get line markers for anonymous or local class
|
||||
return null;
|
||||
}
|
||||
|
||||
FqName classFqName = new FqName(qualifiedName);
|
||||
JetScope memberScope = getScopeForMember(javaDescriptorResolver, classFqName, member);
|
||||
|
||||
Reference in New Issue
Block a user