Kotlin Facet: Show scripting section only if target platform is JVM
#KT-16316 Fixed
This commit is contained in:
+1
@@ -309,6 +309,7 @@ public class KotlinCompilerConfigurableTab implements SearchableConfigurable, Co
|
||||
|
||||
public void setTargetPlatform(@Nullable TargetPlatformKind<?> targetPlatform) {
|
||||
k2jsPanel.setVisible(TargetPlatformKind.JavaScript.INSTANCE.equals(targetPlatform));
|
||||
scriptPanel.setVisible(targetPlatform instanceof TargetPlatformKind.Jvm);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
||||
Reference in New Issue
Block a user