Hey y’all! I’ve been searching for a while and goi...
# compiler
t
Hey y’all! I’ve been searching for a while and going through the Kotlin compiler’s code throughout, but I can’t figure out a sure way to get a delegate field type of a property in the SythenticResolveExtension calls. There’s the
.delegateExpressionOrInitializer?.kotlinType(bindingContext)
, but it’s a hit and miss depending on the property’s declaration. Is it even possible to know such information in this phase? I need to generate extra property for delegated properties when they use a specific delegate type. Any ideas?