FIR resolve: record & check implicit extension receiver type properly
This commit is contained in:
+3
-4
@@ -5,8 +5,7 @@ FILE fqName:<root> fileName:/extensionPropertyGetterCall.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun <get-okext> (): kotlin.String declared in <root>'
|
||||
CONST String type=kotlin.String value="OK"
|
||||
FUN name:test5 visibility:public modality:FINAL <> () returnType:IrErrorType
|
||||
FUN name:test5 visibility:public modality:FINAL <> () returnType:kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun test5 (): IrErrorType declared in <root>'
|
||||
ERROR_CALL 'Unresolved reference: <Unresolved name: okext>#' type=IrErrorType
|
||||
|
||||
RETURN type=kotlin.Nothing from='public final fun test5 (): kotlin.String declared in <root>'
|
||||
CALL 'public final fun <get-okext> (): kotlin.String declared in <root>' type=kotlin.String origin=null
|
||||
|
||||
Reference in New Issue
Block a user