We’re on the new memory model, and it’s kinda anno...
# kotlin-native
a
We’re on the new memory model, and it’s kinda annoying to suppress IDE warnings relating to the old memory model on a one-by-one basis Is there a way to globally suppress old-memory-model-related warnings like
VARIABLE_IN_SINGLETON_WITHOUT_THREAD_LOCAL
?
5
e
you could
@file:Suppress("VARIABLE_IN_SINGLETON_WITHOUT_THREAD_LOCAL")
at the top of each source file, but I don't think there's a way to do so module-wide
a
Yeah from looking around it seems like there aren’t any compiler options to suppress specific warnings Looks like this youtrack ticket from 7 years ago is still open 😅 https://youtrack.jetbrains.com/issue/KT-8087