Alexander Ioffe
01/04/2024, 4:24 AMfun <R> filter(p: (@SpecialValue Person) -> R)
...
filter(p -> p.name)
I've got the IrGetValue expression for p in p.name but when I check expression.type.annotations it's empty. I know it's the right type because expression.type is my.stuff.Person which is the right class but the annotation @SpecialValue is just not there. Why has it disappeared from the type? Can I get it somehow?Alexander Ioffe
01/04/2024, 4:27 AM@Retention(AnnotationRetention.SOURCE)
so I guess that's why it disappeared. I changed it to AnnotationRetention.BINARY and I see the annotation in the types list now. Is that expected behavior?