From f797592365081523b92e3c2fad283d1464434b1f Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Wed, 6 Jun 2018 17:34:29 +0300 Subject: [PATCH] Minor: leave bunch directive for 173-specific code --- .../idea/codeInsight/AbstractOutOfBlockModificationTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/idea/tests/org/jetbrains/kotlin/idea/codeInsight/AbstractOutOfBlockModificationTest.java b/idea/tests/org/jetbrains/kotlin/idea/codeInsight/AbstractOutOfBlockModificationTest.java index 8ed9e1ede7f..274db96216e 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/codeInsight/AbstractOutOfBlockModificationTest.java +++ b/idea/tests/org/jetbrains/kotlin/idea/codeInsight/AbstractOutOfBlockModificationTest.java @@ -55,6 +55,8 @@ public abstract class AbstractOutOfBlockModificationTest extends KotlinLightCode boolean expectedOutOfBlock = getExpectedOutOfBlockResult(); boolean isSkipCheckDefined = InTextDirectivesUtils.isDirectiveDefined(myFixture.getFile().getText(), "SKIP_ANALYZE_CHECK"); + // Special behaviour in 173, should be dropped after abandoning this version. + // BUNCH: 181 if ("InGlobalPropertyWithGetter".equals(getTestName(false))) { String apiVersion = ApplicationInfo.getInstance().getApiVersion(); if (apiVersion != null && apiVersion.contains("-173.")) {