> This class can only be used with the compiler...
# announcements
m
This class can only be used with the compiler argument ‘-Xopt-in=kotlin.RequiresOptIn’
What is this warning for? I can use the class just fine even without that arguments 🤔 I guess the message is just misleading.
r
I thought the compiler wouldn't let you name the type RequiresOptIn without that argument?
m
It probably depends on the annotations that requires opt-in. Whether they use warning or error level. ¯\_(ツ)_/¯
r
oh TIL there's a level argument for that