is there a doc/writeup somewhere about `@UnsafeDur...
# compiler
z
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
👀 1
d
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
😍 1
Ideally it should be an opt-out annotation, but we don't have such feature in the language
z
ahh perfect, thanks!