Fix "progressive" warnings to fix compilation under progressive mode
This commit is contained in:
@@ -37,7 +37,7 @@ class KotlinRunLineMarkerContributor : RunLineMarkerContributor() {
|
||||
val platform = function.containingKtFile.module?.platform ?: return null
|
||||
if (!platform.idePlatformKind.tooling.acceptsAsEntryPoint(function)) return null
|
||||
|
||||
return Info(AllIcons.RunConfigurations.TestState.Run, null, ExecutorAction.getActions(0))
|
||||
return Info(AllIcons.RunConfigurations.TestState.Run, null, *ExecutorAction.getActions(0))
|
||||
}
|
||||
|
||||
return null
|
||||
|
||||
+1
-1
@@ -66,6 +66,6 @@ class KotlinTestRunLineMarkerContributor : RunLineMarkerContributor() {
|
||||
|
||||
val targetPlatform = declaration.module?.platform ?: return null
|
||||
val icon = targetPlatform.idePlatformKind.tooling.getTestIcon(declaration, descriptor) ?: return null
|
||||
return Info(icon, { "Run Test" }, ExecutorAction.getActions())
|
||||
return Info(icon, { "Run Test" }, *ExecutorAction.getActions())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user