https://kotlinlang.org logo
#compiler
Title
# compiler
r

Rahul Rawat

01/27/2023, 1:02 PM
Is it alright to use
Copy code
@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
to access internal functions of modules written by other users? Asking since it is currently working fine but what are the consequences?
m

mcpiroman

01/27/2023, 1:09 PM
Has always worked fine for me. Also, to access internal properties in particular you may need yet another suppress type.
d

dmitriy.novozhilov

01/27/2023, 2:19 PM
But note that error suppressing is not officially supported, so it may broke in any release. Our may not
14 Views