mcpiroman
05/25/2022, 8:41 AMinternal
symbols from other modules using `@Suppress("INVISIBLE_MEMBER")`or "INVISIBLE_REFERENCE"
. However that does not work for internal setter on a property. How can I suppress Cannot assign to ...: the setter is internal in ...
?mcpiroman
05/25/2022, 4:39 PMinternal
. I'd still like to go through with just kotlin though.ephemient
05/26/2022, 8:09 PM-Xfriend-paths
or associated compilations to allow access instead?mcpiroman
05/27/2022, 8:39 AMephemient
05/27/2022, 4:09 PM@RequiresOptIn
than try to abuse internal
mcpiroman
05/27/2022, 4:19 PMYoussef Shoaib [MOD]
05/28/2022, 4:07 PM@Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
fun main() {
kotlinx.coroutines.timeSource = null
}
worked for me to access an internal var
in kotlinx coroutines. Are you specifically accessing something with an internal set
?mcpiroman
05/28/2022, 6:27 PMpublic var internal set
Youssef Shoaib [MOD]
05/28/2022, 6:42 PM@Suppress("INVISIBLE_SETTER")
. I found out from the DefaultErrorMessages.java, which lists nearly all the warnings and errors that the compiler can produce, therefore you can search for any error in that file and find its tag.mcpiroman
05/30/2022, 8:35 AMdmitriy.novozhilov
05/30/2022, 8:41 AM-Xrender-internal-diagnostic-names
compiler flag to render diagnostic names in build or enable internal mode in IDEA, so it will render this name in pop-up with diagnostic messagedmitriy.novozhilov
05/30/2022, 8:41 AM