basedtho
02/16/2020, 10:01 AMpoohbar
02/16/2020, 1:06 PMtapchicoma
02/18/2020, 9:44 PM.editorconfig
options for kotlin? Those that have ij_kotlin
prefix.addamsson
02/20/2020, 7:59 PMassign to local variable
it tries to cast it into itself (???):
Property<Boolean> selectedProperty = (Property<Boolean>) check1.getSelectedProperty();
and signals a compile error: inconvertible types, cannot cast Property<Boolean> to Property<Boolean>
If I compile my code form the CLI it works fine, but within IDEA it is a compile error. What am I doing wrong?
I'm trying to use a Kotlin MPP class in my Java code.pablisco
02/23/2020, 4:42 PMkts
files that are used for testing. However, the IDE is picking them up as if they were part of the build and therefore they don't compile and give a bunch of errors. Is it possible to stop IntelliJ from compiling the given script? I imagine this also happens if a module is not part of the build script graph but has compilation errors.Kavan
02/27/2020, 11:52 AMFleshgrinder
02/27/2020, 12:59 PM-Xfriend-paths
, still complains about visibility issues and requires explicit @Suppress
despite kotlinc
compiling everything as expected. Where would one report a bug for this in YouTrack? Kotlin or IntelliJ?Orhan Tozan
02/29/2020, 3:34 PMpavel
03/03/2020, 10:35 PMnapperley
03/03/2020, 10:39 PMvineethraj49
03/04/2020, 5:23 AMfun main() {
val qq = mutableMapOf<String, String>()
// ...
qq["abc"] to "def" // warn here?
// ...
println(qq) // prints {}
}
Jakub Pi
03/04/2020, 5:45 PMnapperley
03/04/2020, 10:51 PMLex Luthor
03/05/2020, 5:52 AMjava
folders in my project layout..
In my plugins section I have configured the following plugins:
`maven-publish`
eclipse
idea
jacoco
pmd
kotlin("jvm")
kotlin("kapt")
kotlin("plugin.allopen")
kotlin("plugin.noarg")
kotlin("plugin.spring")
id("org.jetbrains.dokka")
id("org.springframework.boot")
damian
03/05/2020, 3:59 PMaddamsson
03/06/2020, 9:34 AMIntelliJ IDEA 2019.3.3 (Ultimate Edition)
Build #IU-193.6494.35, built on February 11, 2020
and ever since that upgrade IDEA refuses to recompile my code when I make changes. What happens is that I have a main
function and when I run it with clicking the green triangle it starts the app, but the changes I made aren't visible. I didn't change any of the settings I just did an upgrade to 2019.3
.
I have a tick next to Build project automatically
. What am I doing wrong?
I have the Build
in the Before Launch
section as well:Ben Madore
03/09/2020, 10:17 PMError:must be run under DaemonProgressIndicator, but got: : class com.intellij.openapi.progress.impl.BackgroundableProcessIndicator: Build 1205242462: running=true; canceled=false; task=com.intellij.compiler.progress.CompilerTask@4fa50bd0
Pablichjenkov
03/10/2020, 4:34 PMKavan
03/14/2020, 9:10 PMcould not determined the dependencies of task ':compileKotlinMetadata'.
> Could not resolve all files for configuration ':kotlinCompilerClasspath'.
> Cannot resolve external dependency org.jetbrains.kotlin:kotlin-compiler-embeddable:1.4.0-dev-4220 because no repositories are defined.
Required by:
project :
How to solve this ??napperley
03/18/2020, 12:41 AMall {
languageSettings.useExperimentalAnnotation("kotlin.time.ExperimentalTime")
languageSettings.useExperimentalAnnotation("kotlinx.serialization.UnstableDefault")
}
Unfortunately this doesn't make the warnings disappear. Is there another way to make the warnings disappear for a Kotlin Multiplatform project?Jakub Pi
03/18/2020, 3:33 AMsealed class Permit<K> {
companion object {
operator fun <K> invoke(lookup : K, permission : Permissions) = FailedPermit(lookup, permission)
}
class FailedPermit<K>(val lookup : K, val permission : Permissions) : Permit<K>()
fun orElse(closure : (K, Permissions) -> Unit) = when (this) { //Dies on this line
is FailedPermit -> closure(lookup, permission)
else -> {}
}
}
I've trimmed the code to just the necessary bits. Permissions is just a simple enum class.Kirill Zhukov
03/18/2020, 5:32 AMOrhan Tozan
03/18/2020, 8:01 PMcavega
03/19/2020, 6:09 PMpajatopmr
03/20/2020, 3:15 PMJakub Pi
03/20/2020, 9:32 PMPere Casafont
03/21/2020, 6:41 AMOrhan Tozan
03/22/2020, 11:06 AMSinan Kozak
03/24/2020, 10:25 AMLastExceed
03/24/2020, 11:08 AMLastExceed
03/24/2020, 11:08 AMwasyl
03/24/2020, 11:33 AMLastExceed
03/24/2020, 11:35 AMSinan Kozak
03/24/2020, 11:43 AM