Exit when property has no name (EA-129932)
This commit is contained in:
+2
-1
@@ -101,7 +101,8 @@ class KotlinFieldBreakpoint(
|
||||
super.reload()
|
||||
|
||||
val property = getProperty(sourcePosition) ?: return
|
||||
setFieldName(property.name!!)
|
||||
val propertyName = property.name ?: return
|
||||
setFieldName(propertyName)
|
||||
|
||||
if (property is KtProperty && property.isTopLevel) {
|
||||
properties.myClassName = JvmFileClassUtil.getFileClassInfoNoResolve(property.getContainingKtFile()).fileClassFqName.asString()
|
||||
|
||||
Reference in New Issue
Block a user