itnoles
08/12/2025, 6:50 PMTgo1014
08/14/2025, 8:57 AMTanvi Goyal
08/15/2025, 1:21 PMtheapache64
08/17/2025, 12:51 PMMeet
08/19/2025, 3:46 AMagrosner
08/22/2025, 8:05 PMtheapache64
08/23/2025, 12:27 PMEdoardo Luppi
08/23/2025, 1:48 PMStefan Oltmann
08/23/2025, 7:07 PMPiotr Krzemiński
08/28/2025, 8:44 AMStefan Oltmann
08/30/2025, 12:30 PMDumitru Preguza
08/30/2025, 7:47 PMStefan Oltmann
08/30/2025, 9:01 PMDumitru Preguza
09/01/2025, 9:13 PMkenkyee
09/03/2025, 12:27 PMMikolaj
09/04/2025, 3:08 AMEdoardo Luppi
09/04/2025, 1:32 PMcopy
function without hashCode
and toString
? I don't want to use data classes in certain environments.chi
09/04/2025, 6:45 PMKlitos Kyriacou
09/05/2025, 4:15 PMOliver.O
09/05/2025, 4:45 PMBhadra Vaghela
09/09/2025, 6:38 AMsindrenm
09/10/2025, 8:55 AMeygraber
09/10/2025, 8:28 PMAdam S
09/11/2025, 7:18 PMstatic
inner class does not keep an implicit reference to its enclosing instance. When using Java 17 or before, this prevents a common cause of memory leaks and uses less memory per instance of the class.
Did something change in Java 18+ to make Alex Styl
09/13/2025, 4:15 PMStefan Oltmann
09/15/2025, 8:05 PMPaulo Cereda
09/16/2025, 8:15 PMbuild.gradle.kts
with:
...
plugins {
kotlin("multiplatform") version "2.2.20"
alias("com.github.ben-manes.versions") version "0.52.0"
...
}
...
sourceSets {
...
commonTest {
dependencies {
implementation(kotlin("test"))
...
}
}
...
}
When I run (Gradle 9):
./gradlew --no-parallel dependencyUpdates
I get:
Failed to compare versions for the following dependencies because they were declared without version:
- org.jetbrains.kotlin:kotlin-test
I checked the versions plugin repository for any clues on how to omit / resolve this warning, but no luck. Does anyone have a suggestion of what I could do? 😊 Thanks!Edoardo Luppi
09/17/2025, 8:02 PMColton Idle
09/18/2025, 1:13 AMsindrenm
09/18/2025, 7:49 AMfun main() {
Foo()
}
class Foo {
val bar = Bar() // fails because outerBaz is not yet initialized
val outerBaz = "Baz"
inner class Bar(
val innerBaz: String = outerBaz
)
}
Exception in thread "main" java.lang.NullPointerException: Parameter specified as non-null is null: method Foo$Bar.<init>, parameter innerBaz
at Foo$Bar.<init> (File.kt:-1)
at Foo$Bar.<init> (File.kt:9)
at Foo.<init> (File.kt:6)
(https://pl.kotl.in/OetJ4wyvS)
I would think/hope this was something that could be caught at compile-time. Is this is a known issue? My YouTrack-fu is failing me.