Rename ALLOW_HEADER_WITHOUT_IMPLS to ALLOW_EXPECT_WITHOUT_ACTUAL
This commit is contained in:
+1
-1
@@ -247,7 +247,7 @@ class ConvertMemberToExtensionIntention : SelfTargetingRangeIntention<KtCallable
|
|||||||
|
|
||||||
private fun askIfExpectedIsAllowed(file: KtFile): Boolean {
|
private fun askIfExpectedIsAllowed(file: KtFile): Boolean {
|
||||||
if (ApplicationManager.getApplication().isUnitTestMode) {
|
if (ApplicationManager.getApplication().isUnitTestMode) {
|
||||||
return file.allChildren.any { it is PsiComment && it.text.trim() == "// ALLOW_HEADER_WITHOUT_IMPLS" }
|
return file.allChildren.any { it is PsiComment && it.text.trim() == "// ALLOW_EXPECT_WITHOUT_ACTUAL" }
|
||||||
}
|
}
|
||||||
|
|
||||||
return Messages.showYesNoDialog(
|
return Messages.showYesNoDialog(
|
||||||
|
|||||||
Reference in New Issue
Block a user