LightClassEqualsTest fix by creating lightclasses with createNoCache

This commit is contained in:
Nicolay Mitropolsky
2017-12-19 20:03:59 +03:00
parent 4c5cf0f7e7
commit bb4d6d1059
2 changed files with 3 additions and 5 deletions
@@ -339,7 +339,7 @@ abstract class KtLightClassForSourceDeclaration(protected val classOrObject: KtC
.create(createNoCache(classOrObject), OUT_OF_CODE_BLOCK_MODIFICATION_COUNT)
}
private fun createNoCache(classOrObject: KtClassOrObject): KtLightClassForSourceDeclaration? {
fun createNoCache(classOrObject: KtClassOrObject): KtLightClassForSourceDeclaration? {
if (classOrObject.hasExpectModifier()) {
return null
}