eygraber
01/07/2024, 10:33 PM@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
will ever stop working for accessing internal
members of another module?Youssef Shoaib [MOD]
01/07/2024, 11:06 PMAyfri
01/08/2024, 12:00 AMeygraber
01/08/2024, 12:03 AMAyfri
01/08/2024, 12:10 AMLaxystem
01/21/2024, 5:27 PM@JvmPrivate
annotation for `internal`s that can be made private on the JVM, for security reasons?Youssef Shoaib [MOD]
01/21/2024, 5:31 PMLaxystem
01/21/2024, 5:32 PMprivate
in Java but are internal
in Kotlin inaccessible to Java (because there are cases where private
is forbidden in Kotlin, and allowed in Java/JVM Bytecode) -- as private
is one of if not the only real way to prevent other stuff from calling methodsYoussef Shoaib [MOD]
01/21/2024, 5:33 PM@JvmSynthetic
hides the declaration from Java completely, other languages (like Scala) might see it though.Laxystem
01/21/2024, 5:34 PMprivate
does.Youssef Shoaib [MOD]
01/21/2024, 5:35 PM@kotlin.internal.InlineOnly
I think.Laxystem
01/21/2024, 5:35 PMLaxystem
01/21/2024, 5:35 PMLaxystem
01/21/2024, 5:36 PMprivate
stuff on the JVM can only be called by specific things. Kotlin prevents it from being used in some cases.ephemient
01/21/2024, 7:19 PMprivate
but Kotlin doesn't allow?ephemient
01/21/2024, 7:22 PMprivate
in code may actually gain package-private bridges in bytecode, if it is accessed from an outer or inner classLaxystem
01/27/2024, 2:20 PM@JvmPackagePrivate
for `internal`s that can be made package-private?