Override/Implement members: don't add 'external' modifier

#KT-33466 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-09-07 10:40:30 +09:00
committed by klunnii
parent 4e5c61cd2f
commit bdf502edef
4 changed files with 22 additions and 0 deletions
@@ -248,6 +248,8 @@ fun <T : KtDeclaration> insertMembersAfter(
}
}
it.removeModifier(KtTokens.EXTERNAL_KEYWORD)
@Suppress("UNCHECKED_CAST")
SmartPointerManager.createPointer((body.addAfter(it, afterAnchor) as T).apply { afterAnchor = this })
}