Is it alright to use ```@file:Suppress("INVISIBLE_...
# compiler
r
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
Has always worked fine for me. Also, to access internal properties in particular you may need yet another suppress type.
d
But note that error suppressing is not officially supported, so it may broke in any release. Our may not