Fixing declaration ranges in decompiled code - comment "/* compiled code */" now is inside property

This commit is contained in:
Valentin Kipyatkov
2014-10-03 13:07:50 +04:00
parent 9dd4b5598e
commit 41685f0ba3
6 changed files with 13 additions and 13 deletions
@@ -115,12 +115,12 @@ private fun buildDecompiledText(packageFqName: FqName, descriptors: List<Declara
if ((descriptor as MemberDescriptor).getModality() != Modality.ABSTRACT) {
if (descriptor is FunctionDescriptor) {
builder.append(" { ").append(DECOMPILED_COMMENT).append(" }")
endOffset = builder.length()
}
else {
// descriptor instanceof PropertyDescriptor
builder.append(" ").append(DECOMPILED_COMMENT)
}
endOffset = builder.length()
}
}
else