FIR: preserve delegatedTypeRef when transforming FirFunctionTypeRef

This commit is contained in:
Ilya Kirillov
2021-01-09 07:36:35 +01:00
parent b405cbb1ff
commit 16cd2f08fe
2 changed files with 2 additions and 1 deletions
@@ -51,6 +51,7 @@ class FirSpecificTypeResolverTransformer(
source = functionTypeRef.source
type = resolvedType
annotations += functionTypeRef.annotations
delegatedTypeRef = functionTypeRef
}
} else {
buildErrorTypeRef {