Fix incremental compilation problems related to type alias constructors
1. Determine source element for descriptors with NO_SOURCE recursively. 2. Always provide type abbreviation for type alias constructor return type. #KT-15495 Fixed
This commit is contained in:
+2
-3
@@ -57,9 +57,8 @@ FILE /kt16905.kt
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
$this: VALUE_PARAMETER this@Any: Any
|
||||
TYPEALIAS typealias OI = Outer.Inner type=Outer.Inner
|
||||
FUN public fun test(): Outer.Inner
|
||||
FUN public fun test(): OI /* = Outer.Inner */
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test(): Outer.Inner'
|
||||
RETURN type=kotlin.Nothing from='test(): OI /* = Outer.Inner */'
|
||||
CALL 'constructor Inner()' type=Outer.Inner origin=null
|
||||
$this: CALL 'constructor Outer()' type=Outer origin=null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user