182: compilation fix due to quickFixActionMarkers made nullble

This commit is contained in:
Nicolay Mitropolsky
2018-05-14 15:04:21 +03:00
parent b3219cb762
commit 31b21a7bc8
@@ -188,7 +188,7 @@ abstract class AbstractLocalInspectionTest : KotlinLightCodeInsightFixtureTestCa
)
}
val allLocalFixActions = highlightInfos.flatMap { it.quickFixActionMarkers }.map { it.first.action }
val allLocalFixActions = highlightInfos.flatMap { it.quickFixActionMarkers ?: emptyList() }.map { it.first.action }
val localFixActions = allLocalFixActions.filter { fix -> localFixTextString == null || fix.text == localFixTextString }
val availableDescription = allLocalFixActions.joinToString { it.text }