diego-gomez-olvera
08/17/2017, 8:05 AMyole
08/17/2017, 10:11 AMkarelpeeters
08/17/2017, 2:15 PMyole
08/18/2017, 9:00 AMdreamreal
08/18/2017, 12:37 PMUnresolved service: class org.jetbrains.kotlin.resolve.jvm.JavaDescriptorResolver
adeln
08/18/2017, 12:51 PMyole
08/18/2017, 4:19 PMkarelpeeters
08/18/2017, 9:06 PMgaetan
08/18/2017, 10:12 PMlouiscad
08/21/2017, 9:38 AMdiesieben07
08/21/2017, 11:33 AMmartynas
08/22/2017, 6:06 AMdave08
08/22/2017, 12:06 PMnitrog42
08/23/2017, 8:23 AMchetankokil
08/24/2017, 2:45 AMdumptruckman
08/24/2017, 7:27 PMchristophsturm
08/25/2017, 12:24 PMjanvladimirmostert
08/26/2017, 12:04 PMhorse_badorties
08/26/2017, 12:32 PMclass Node(val nodes: List<Node>)
fun preOrder(node: Node) = node.nodes.forEach {
// ...
preOrder(it)
}
does not compile using kotlin version 1.1.4-2 due to Type checking has run into a recursive problem. Easiest workaround: specify types of your declarations explicitly
It compiles using fun preOrder(node: Node): Unit = ...
but then there is a Redundant 'Unit' return type
warning?!chris-horner
08/28/2017, 2:16 AMfun onAttach(view: View) {
require(view is HomeView)
// No smart cast from View to HomeView.
}
Is this something that should be supported? If so and a PR is welcome, where abouts in the source should I be looking for smart cast stuff?christophsturm
08/28/2017, 12:04 PMyole
08/30/2017, 2:10 PMtlaukkan
09/04/2017, 7:16 AMtlaukkan
09/04/2017, 12:29 PMmantono
09/08/2017, 7:15 AMstantronic
09/08/2017, 8:51 AMhho
09/08/2017, 9:47 AMspand
09/08/2017, 11:24 AMDalinar
09/08/2017, 12:24 PM@NotNull
or @Nullable
when you do some alt-enter commands like adding a parameter to a fun
.. ? .. I mean you insert a parameter into a fun call that is more than the amount of actual arguments the fun takes, so it recommends to insert the parameter into the fun
declaration and when you do it - it often inserts a these annotations as well in the middle of the new parametersmikkom
09/10/2017, 7:15 AMOutdated Kotlin Runtime
Your version of Kotlin runtime in 'Maven: org.jetbrains.kotlin:kotlin-stdlib:1.1.2-4' library is 1.1.2-4, while plugin version is 1.1.4-release-IJ2017.2-3.
Runtime library should be updated to avoid compatibility problems.However in the root pom.xml I have
<kotlin.version>1.1.4-3</kotlin.version>
and mvn dependency:tree
shows that all Kotlin deps have version 1.1.4-3. What gives?mikkom
09/10/2017, 7:15 AMOutdated Kotlin Runtime
Your version of Kotlin runtime in 'Maven: org.jetbrains.kotlin:kotlin-stdlib:1.1.2-4' library is 1.1.2-4, while plugin version is 1.1.4-release-IJ2017.2-3.
Runtime library should be updated to avoid compatibility problems.However in the root pom.xml I have
<kotlin.version>1.1.4-3</kotlin.version>
and mvn dependency:tree
shows that all Kotlin deps have version 1.1.4-3. What gives?pawel.barszcz
09/10/2017, 7:46 PMpom.xml
?