FIR: preserve delegatedTypeRef when transforming FirFunctionTypeRef
This commit is contained in:
+1
@@ -51,6 +51,7 @@ class FirSpecificTypeResolverTransformer(
|
|||||||
source = functionTypeRef.source
|
source = functionTypeRef.source
|
||||||
type = resolvedType
|
type = resolvedType
|
||||||
annotations += functionTypeRef.annotations
|
annotations += functionTypeRef.annotations
|
||||||
|
delegatedTypeRef = functionTypeRef
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
buildErrorTypeRef {
|
buildErrorTypeRef {
|
||||||
|
|||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
package typeReferenceError
|
package typeReferenceError
|
||||||
|
|
||||||
class Pair<<!SYNTAX!><!>:<!UNRESOLVED_REFERENCE!>(val c: <!SYNTAX!><!SYNTAX!><!>fun<!><!SYNTAX!><!> main<!>()
|
class Pair<<!SYNTAX!><!>:<!UNRESOLVED_REFERENCE!>(val c: <!SYNTAX!><!SYNTAX!><!>fun<!><!SYNTAX!><!> <!UNRESOLVED_REFERENCE!>main<!><!>()
|
||||||
|
|||||||
Reference in New Issue
Block a user