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

Zac Sweers

11/19/2023, 9:38 PM
is there a doc/writeup somewhere about
@UnsafeDuringIrConstructionAPI
? Want to better understand when I need to be mindful using it and the doc on the class didn't quite have enough context for me to understand
d

dmitriy.novozhilov

11/19/2023, 9:49 PM
This annotation means that annotated declaration is not safe only during fir2ir stage So if you use it outside code of fit2ir it's completely fine
Ideally it should be an opt-out annotation, but we don't have such feature in the language
z

Zac Sweers

11/19/2023, 10:02 PM
ahh perfect, thanks!