Also: my current workaround for the above issue is...
# compiler
r
Also: my current workaround for the above issue is to pass the annotations as a
Map<KClass<Annotation>, Map<String, Any?>>
where the inner map is the arguments. However when I try to get default value of a constructor parameter to use in the argument map, it is always a
IrErrorExpression
like
"Stub expression for default value of httpMethod"
. Is this a "you aren't allowed to get default values" issue or is it just not implemented for annotations? The annotations are defined in an external module.