I have an FIR plugin that, given a class like so ...
# compiler
z
I have an FIR plugin that, given a class like so
Copy code
class Example<T> where T : CharSequence
tries to generate this nested declaration using the
createNestedClass
DSL
Copy code
$Factory<Example<T>> where T : CharSequence
I've found in this scenario that the bound type is not resolved in this scenario when trying to add it to
typeParameter(...)
, and it doesn't look like the
bound(typeProvider)
API helps for this scenario. Is there a way to defer resolving this type during generation? Or otherwise resolve it in context?
d
There is no way to defer computation of the type bound (or any other type, actually)