Would it be worth a feature request to support add...
# compiler
z
Would it be worth a feature request to support adding custom annotations to
FunctionBuildingContext
and
FunctionBuildingContext.valueParameter
? I'm running into recurring cases in my plugin where I want to override a member and want to copy over annotations from the original declaration, but the FIR API seems to omit good hooks for this
d
Yes, it would make sense, please create a feature request
but the FIR API seems to omit good hooks for this
Right now you can just modify the FIR declaration produced by the
create...
DSL:
Copy code
createMemberFunction(...).also {
    it.replaceAnnotations(...)
}
z
ooo that's helpful, thank you I'll take a look at that and will file!